Multi-Dimensional charting built to work natively with crossfilter rendered with d3.js
Switch branches/tags
Clone or download
gordonwoodhull back out to earlier Jasmine
3.0 seems to cause a lot of weird and inconsistent errors in Travis
having to do with console.warn not existing and so on
Latest commit 343e670 Sep 17, 2018
Permalink
Failed to load latest commit information.
docs Compatibility with d3v4 Mar 21, 2018
grunt Correct typo `<tr>` --> `</tr>` Apr 20, 2018
regression remove colorbrewer as explicit dependency May 25, 2018
scripts Use d3.version to do conditional processing between d3v4 and d3v5 Apr 30, 2018
spec Row chart and Pie chart incorrectly called valueAccessor instead of c… Sep 17, 2018
src Row chart and Pie chart incorrectly called valueAccessor instead of c… Sep 17, 2018
style remove stroke: none css rule for circle.dot, add stroke attribute to … Jul 11, 2018
web artifacts Sep 17, 2018
.gitattributes Add .gitattributes for Windows folks Apr 13, 2018
.gitignore ignore html output Jul 28, 2016
.jscsrc Update node dependencies to latest. Fix styling issues Dec 2, 2016
.jshintrc Update node dependencies to latest. Fix styling issues Dec 2, 2016
.mailmap more authors Sep 30, 2013
.travis.yml Remove xvfb Jun 1, 2018
AUTHORS changelog and author Sep 17, 2018
CONTRIBUTING.md example fiddles & blocks everwhere Dec 10, 2016
Changelog.md changelog and author Sep 17, 2018
Gruntfile.js update all top-level dependencies except grunt-contrib-jasmine Sep 17, 2018
LICENSE Update LICENSE year range to 2016 Feb 11, 2016
LICENSE_BANNER Update LICENSE_BANNER year range to 2016 Feb 11, 2016
README.md update fiddles; copy simpler cdn info from wiki May 20, 2018
bower.json update bower.json for crossfilter2 1.4 Mar 12, 2018
class-hierarchy.dot put new charts/widgets in class hierarchy documentation May 1, 2018
dc.css artifacts Jul 11, 2018
dc.js artifacts Sep 17, 2018
dc.js.map artifacts Sep 17, 2018
dc.min.css artifacts Jul 11, 2018
dc.min.js artifacts Sep 17, 2018
dc.min.js.map artifacts Sep 17, 2018
index.js use package name for node & umd requires May 24, 2017
jsdoc.conf.json Compatibility with d3v4 Mar 21, 2018
package-lock.json back out to earlier Jasmine Sep 17, 2018
package.json back out to earlier Jasmine Sep 17, 2018
welcome.md artifacts & dependencies May 1, 2018

README.md

Dependency Status Build Status Sauce Status NPM Status Join the chat at https://gitter.im/dc-js/dc.js

dc.js

Dimensional charting built to work natively with crossfilter rendered using d3.js. In dc.js, each chart displays an aggregation of some attributes through the position, size, and color of its elements, and also presents a dimension which can be filtered. When the filter or brush changes, all other charts are updated dynamically, using animated transitions.

Check out the example page and its annotated source for a quick five minute how-to guide. The detailed API reference is here (markdown version). For more examples and hints please visit the Wiki.

Support

Please direct questions and support requests to Stack Overflow or the user group. When posting to Stack Overflow, use the [dc.js] and/or [crossfilter] tags - other tags are likely to draw unwanted attention.

Get help faster with a working example! Fork these to get started:
example jsFiddle - blank jsFiddle - example bl.ock - blank bl.ock

Versioning

Version 3.* is compatible with d3 versions 4 and 5. Use dc.js 2.* if you still need compatibility with d3 version 3.

CDN location

http://unpkg.com/dc@3/dc.js
http://unpkg.com/dc@3/dc.css

or copy the latest links from CDNJS

Install with npm

npm install dc

Install with bower

bower install dcjs

Install without npm

Download

How to build dc.js locally

Prerequisite modules

Make sure the following packages are installed on your machine

  • node.js
  • npm

Install dependencies

dc.js$ npm install

Build and Test

dc.js$ grunt test

Developing dc.js

Start the development server

dc.js$ grunt server

License

dc.js is an open source javascript library and licensed under Apache License v2.