MCPcopy
hub / github.com/dc-js/dc.js

github.com/dc-js/dc.js @4.2.7 sqlite

repository ↗ · DeepWiki ↗ · release 4.2.7 ↗
1,021 symbols 3,985 edges 105 files 311 documented · 30%
README

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 * d3.js * crossfilter.js * dc.js - stable * dc.js - bleeding edge (develop)

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.

Core symbols most depended-on inside this repo

selectAll
called by 673
src/base/base-mixin.js
select
called by 555
src/base/base-mixin.js
render
called by 345
src/charts/legend.js
group
called by 276
src/base/base-mixin.js
dimension
called by 223
src/base/base-mixin.js
filter
called by 202
src/charts/heatmap.js
makeDate
called by 180
spec/helpers/spec-helper.js
data
called by 153
src/base/base-mixin.js

Shape

Method 704
Function 249
Class 68

Languages

TypeScript100%
Python1%

Modules by API surface

src/base/coordinate-grid-mixin.js90 symbols
src/base/base-mixin.js82 symbols
src/charts/sunburst-chart.js52 symbols
src/charts/pie-chart.js48 symbols
src/charts/composite-chart.js48 symbols
src/charts/scatter-plot.js39 symbols
src/charts/line-chart.js32 symbols
src/charts/row-chart.js29 symbols
src/charts/box-plot.js29 symbols
src/base/bubble-mixin.js29 symbols
src/charts/bar-chart.js27 symbols
src/base/stack-mixin.js25 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

Dependencies from manifests, versioned

@chiragrupani/karma-chromium-edge-launcher2.1.0 · 1×
@rollup/plugin-json4.1.0 · 1×
compare-versions3.6.0 · 1×
crossfilter21.5.4 · 1×
d36.6.2 · 1×
d3-collection1.0.7 · 1×
eslint6.8.0 · 1×
eslint-plugin-import2.22.1 · 1×
eslint-plugin-node10.0.0 · 1×
eslint-plugin-promise4.3.1 · 1×
file-saver1.3.8 · 1×
grunt1.3.0 · 1×

For agents

$ claude mcp add dc.js \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact