dc.js

多维图表构建以原生支持使用 d3.js 进行 crossfilter 渲染。「Multi-Dimensional charting built to work natively with crossfilter rendered with d3.js」

Github stars Tracking Chart

Build Status
Sauce Status
NPM Status
cdnjs 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:
blank jsFiddle - example jsFiddle - blank bl.ock - example bl.ock

Versioning

Version 4.* is compatible with d3 versions 4 and 5. It is not compatible with IE. Use dc.js 3.* if you need IE support, or use dc.js 2.* if you need compatibility with d3 version 3.

CDN location

https://unpkg.com/dc@4/dist/dc.js
https://unpkg.com/dc@4/dist/style/dc.css

or copy the latest links from CDNJS

Install with npm

npm install dc

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

$ npm install

Build and Test

$ grunt test

Developing dc.js

Start the development server

$ grunt server
  • Jasmine specs are hosted at http://localhost:8888/spec
  • The stock example is at http://localhost:8888/web
  • More examples are at http://localhost:8888/web/examples

License

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

Main metrics

Overview
Name With Ownerdc-js/dc.js
Primary LanguageJavaScript
Program languageCSS (Language Count: 7)
PlatformLinux, Mac, Web browsers, Windows
License:Apache License 2.0
所有者活动
Created At2012-06-19 14:20:30
Pushed At2024-07-31 16:01:22
Last Commit At2021-04-08 12:12:58
Release Count161
Last Release Name5.0.0-alpha5 (Posted on )
First Release Name0.1.0 (Posted on 2012-07-09 11:41:44)
用户参与
Stargazers Count7.4k
Watchers Count279
Fork Count1.8k
Commits Count3.6k
Has Issues Enabled
Issues Count1270
Issue Open Count378
Pull Requests Count277
Pull Requests Open Count34
Pull Requests Close Count293
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private