d3 0,30,39,110,58,0,78,0 npm

Bring data to life with SVG, Canvas and HTML. :bar_chart::chart_with_upwards_trend::tada:

D3: Data-Driven Documents

D3 (or D3.js) is a JavaScript library for visualizing data using web standards. D3 helps you bring data to life using SVG, Canvas and HTML. D3 combines powerful visualization and interaction techniques with a data-driven approach to DOM manipulation, giving you the full capabilities of modern browsers and the freedom to design the right visual interface for your data.



If you use npm, npm install d3. Otherwise, download the latest release. The released bundle supports anonymous AMD, CommonJS, and vanilla environments. You can load directly from d3js.org, CDNJS, or unpkg. For example:

<script src="https://d3js.org/d3.v4.js"></script>

For the minified version:

<script src="https://d3js.org/d3.v4.min.js"></script>

You can also use the standalone D3 microlibraries. For example, d3-selection:

<script src="https://d3js.org/d3-selection.v1.js"></script>

D3 is written using ES2015 modules. Create a custom bundle using Rollup, Webpack, or your preferred bundler. To import D3 into an ES2015 application, either import specific symbols from specific D3 modules:

import {scaleLinear} from "d3-scale";

Or import everything into a namespace (here, d3):

import * as d3 from "d3";

In Node:

var d3 = require("d3");

You can also require individual modules and combine them into a d3 object using Object.assign:

var d3 = Object.assign({}, require("d3-format"), require("d3-geo"), require("d3-geo-projection"));

Related Repositories



A list of D3 libraries, plugins and utilities ...



A repository for sharing D3.js plugins. ...



Modular React charts made with d3.js ...



D3 Components for React ...



Use D3 to visualize simple git branching operations. ...

Top Contributors

mbostock jasondavies kitmonisit DanGoldbach larskotthoff natevw yasirs square-build-bot fanktom jheer leodutra scottcheng mrcarlosrendon NelsonMinar webmonarch hlvoorhees trevnorris dandv maoe pjjw jfirebaugh mrblueblue splendido snoble iterion curran zenmoto trinary GerHobbelt jisaacks


package version
d3-array 1.2.0
d3-axis 1.0.8
d3-brush 1.0.4
d3-chord 1.0.4
d3-collection 1.0.4
d3-color 1.0.3
d3-dispatch 1.0.3
d3-drag 1.1.1
d3-dsv 1.0.5
d3-ease 1.0.3
d3-force 1.0.6
d3-format 1.2.0
d3-geo 1.6.4
d3-hierarchy 1.1.5
d3-interpolate 1.1.5
d3-path 1.0.5
d3-polygon 1.0.3
d3-quadtree 1.0.3
d3-queue 3.0.7
d3-random 1.1.0
d3-request 1.0.5
d3-scale 1.0.6
d3-selection 1.1.0
d3-shape 1.2.0
d3-time 1.0.7
d3-time-format 2.0.5
d3-timer 1.0.6
d3-transition 1.1.0
d3-voronoi 1.1.2
d3-zoom 1.5.0
dev json2module 0.0
package-preamble 0.1
rimraf 2
rollup ^0.45.2
rollup-plugin-ascii 0.0
rollup-plugin-node-resolve 3
tape ^4.7.0
uglify-js ^3.0.24


-   v4.4.0 zip tar
-   v4.3.0 zip tar
-   v4.2.8 zip tar
-   v4.2.7 zip tar
-   v4.2.6 zip tar
-   v4.2.5 zip tar
-   v4.2.4 zip tar
-   v4.2.3 zip tar
-   v4.2.2 zip tar
-   v4.2.1 zip tar
-   v4.2.0 zip tar
-   v4.1.1 zip tar
-   v4.1.0 zip tar
-   v4.0.0 zip tar
-   v3.5.17 zip tar
-   v3.5.16 zip tar
-   v3.5.15 zip tar
-   v3.5.14 zip tar
-   v3.5.13 zip tar
-   v3.5.12 zip tar
-   v3.5.11 zip tar
-   v3.5.10 zip tar
-   v3.5.9 zip tar
-   v3.5.8 zip tar
-   v3.5.7 zip tar
-   v3.5.6 zip tar
-   v3.5.5 zip tar
-   v3.5.4 zip tar
-   v3.5.3 zip tar
-   v3.5.2 zip tar