d3
Data-Driven Documents
Last updated 3 months ago by mbostock .
BSD-3-Clause · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install d3 
SYNC missed versions from official npm registry.

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.

Resources

Installing

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.v5.js"></script>

For the minified version:

<script src="https://d3js.org/d3.v5.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"));

Current Tags

  • 5.16.0                                ...           latest (3 months ago)
  • 5.0.0-rc.4                                ...           next (2 years ago)

230 Versions

  • 5.16.0                                ...           3 months ago
  • 5.15.1                                ...           3 months ago
  • 5.15.0                                ...           7 months ago
  • 5.14.2                                ...           8 months ago
  • 5.14.1                                ...           8 months ago
  • 5.14.0                                ...           8 months ago
  • 5.13.1                                ...           8 months ago
  • 5.13.0                                ...           8 months ago
  • 5.12.0                                ...           10 months ago
  • 5.11.0                                ...           a year ago
  • 5.10.1                                ...           a year ago
  • 5.10.0                                ...           a year ago
  • 5.9.7                                ...           a year ago
  • 5.9.6                                ...           a year ago
  • 5.9.5                                ...           a year ago
  • 5.9.4                                ...           a year ago
  • 5.9.3                                ...           a year ago
  • 5.9.2                                ...           a year ago
  • 5.9.1                                ...           a year ago
  • 5.9.0                                ...           a year ago
  • 5.8.2                                ...           a year ago
  • 5.8.1                                ...           a year ago
  • 5.8.0                                ...           a year ago
  • 5.7.0                                ...           2 years ago
  • 5.6.0                                ...           2 years ago
  • 5.5.0                                ...           2 years ago
  • 5.4.0                                ...           2 years ago
  • 5.3.0                                ...           2 years ago
  • 5.2.0                                ...           2 years ago
  • 5.1.0                                ...           2 years ago
  • 5.0.2                                ...           2 years ago
  • 5.0.1                                ...           2 years ago
  • 5.0.0                                ...           2 years ago
  • 5.0.0-rc.4                                ...           2 years ago
  • 5.0.0-rc.3                                ...           2 years ago
  • 5.0.0-rc.2                                ...           2 years ago
  • 4.13.0                                ...           2 years ago
  • 5.0.0-rc.1                                ...           2 years ago
  • 4.12.2                                ...           3 years ago
  • 4.12.1                                ...           3 years ago
  • 4.12.0                                ...           3 years ago
  • 4.11.0                                ...           3 years ago
  • 4.10.2                                ...           3 years ago
  • 4.10.1                                ...           3 years ago
  • 4.10.0                                ...           3 years ago
  • 4.9.1                                ...           3 years ago
  • 4.9.0                                ...           3 years ago
  • 4.8.0                                ...           3 years ago
  • 4.7.4                                ...           3 years ago
  • 4.7.3                                ...           3 years ago
  • 4.7.2                                ...           3 years ago
  • 4.7.1                                ...           3 years ago
  • 4.7.0                                ...           3 years ago
  • 4.6.0                                ...           3 years ago
  • 4.5.1                                ...           3 years ago
  • 4.5.0                                ...           3 years ago
  • 4.4.4                                ...           3 years ago
  • 4.4.3                                ...           3 years ago
  • 4.4.2                                ...           3 years ago
  • 4.4.1                                ...           4 years ago
  • 4.4.0                                ...           4 years ago
  • 4.3.0                                ...           4 years ago
  • 4.2.8                                ...           4 years ago
  • 4.2.7                                ...           4 years ago
  • 4.2.6                                ...           4 years ago
  • 4.2.5                                ...           4 years ago
  • 4.2.4                                ...           4 years ago
  • 4.2.3                                ...           4 years ago
  • 4.2.2                                ...           4 years ago
  • 4.2.1                                ...           4 years ago
  • 4.2.0                                ...           4 years ago
  • 4.1.1                                ...           4 years ago
  • 4.1.0                                ...           4 years ago
  • 4.0.0                                ...           4 years ago
  • 4.0.0-rc.2                                ...           4 years ago
  • 4.0.0-rc.1                                ...           4 years ago
  • 4.0.0-alpha.50                                ...           4 years ago
  • 4.0.0-alpha.49                                ...           4 years ago
  • 4.0.0-alpha.48                                ...           4 years ago
  • 4.0.0-alpha.47                                ...           4 years ago
  • 4.0.0-alpha.46                                ...           4 years ago
  • 4.0.0-alpha.45                                ...           4 years ago
  • 4.0.0-alpha.44                                ...           4 years ago
  • 4.0.0-alpha.43                                ...           4 years ago
  • 4.0.0-alpha.42                                ...           4 years ago
  • 4.0.0-alpha.41                                ...           4 years ago
  • 4.0.0-alpha.40                                ...           4 years ago
  • 4.0.0-alpha.39                                ...           4 years ago
  • 4.0.0-alpha.38                                ...           4 years ago
  • 4.0.0-alpha.37                                ...           4 years ago
  • 4.0.0-alpha.36                                ...           4 years ago
  • 3.5.17                                ...           4 years ago
  • 4.0.0-alpha.35                                ...           4 years ago
  • 4.0.0-alpha.34                                ...           4 years ago
  • 4.0.0-alpha.33                                ...           4 years ago
  • 4.0.0-alpha.32                                ...           4 years ago
  • 4.0.0-alpha.31                                ...           4 years ago
  • 4.0.0-alpha.30                                ...           4 years ago
  • 4.0.0-alpha.29                                ...           4 years ago
  • 4.0.0-alpha.28                                ...           4 years ago
  • 4.0.0-alpha.27                                ...           4 years ago
  • 4.0.0-alpha.26                                ...           4 years ago
  • 4.0.0-alpha.25                                ...           4 years ago
  • 4.0.0-alpha.24                                ...           4 years ago
  • 4.0.0-alpha.23                                ...           4 years ago
  • 4.0.0-alpha.22                                ...           4 years ago
  • 4.0.0-alpha.21                                ...           4 years ago
  • 4.0.0-alpha.20                                ...           4 years ago
  • 4.0.0-alpha.19                                ...           4 years ago
  • 3.5.16                                ...           4 years ago
  • 4.0.0-alpha.18                                ...           4 years ago
  • 4.0.0-alpha.17                                ...           4 years ago
  • 4.0.0-alpha.16                                ...           4 years ago
  • 3.5.15                                ...           4 years ago
  • 4.0.0-alpha.15                                ...           4 years ago
  • 4.0.0-alpha.14                                ...           4 years ago
  • 4.0.0-alpha.13                                ...           4 years ago
  • 4.0.0-alpha.12                                ...           4 years ago
  • 3.5.14                                ...           4 years ago
  • 4.0.0-alpha.11                                ...           4 years ago
  • 4.0.0-alpha.10                                ...           4 years ago
  • 4.0.0-alpha.9                                ...           4 years ago
  • 3.5.13                                ...           4 years ago
  • 4.0.0-alpha.7                                ...           4 years ago
  • 4.0.0-alpha.6                                ...           4 years ago
  • 4.0.0-alpha.5                                ...           5 years ago
  • 4.0.0-alpha.4                                ...           5 years ago
  • 4.0.0-alpha.3                                ...           5 years ago
  • 4.0.0-alpha.2                                ...           5 years ago
  • 4.0.0-alpha.1                                ...           5 years ago
  • 3.5.12                                ...           5 years ago
  • 3.5.11                                ...           5 years ago
  • 3.5.10                                ...           5 years ago
  • 3.5.9                                ...           5 years ago
  • 3.5.8                                ...           5 years ago
  • 3.5.7                                ...           5 years ago
  • 3.5.6                                ...           5 years ago
  • 3.5.5                                ...           5 years ago
  • 3.5.4                                ...           5 years ago
  • 3.5.3                                ...           6 years ago
  • 3.5.2                                ...           6 years ago
  • 3.5.1                                ...           6 years ago
  • 3.5.0                                ...           6 years ago
  • 3.4.13                                ...           6 years ago
  • 3.4.12                                ...           6 years ago
  • 3.4.11                                ...           6 years ago
  • 3.4.10                                ...           6 years ago
  • 3.4.9                                ...           6 years ago
  • 3.4.8                                ...           6 years ago
  • 3.4.7 [deprecated]           ...           6 years ago
  • 3.4.6                                ...           6 years ago
  • 3.4.5                                ...           6 years ago
  • 3.4.4                                ...           6 years ago
  • 3.4.3                                ...           6 years ago
  • 3.4.2                                ...           6 years ago
  • 3.4.1                                ...           7 years ago
  • 3.4.0                                ...           7 years ago
  • 3.3.13                                ...           7 years ago
  • 3.3.12                                ...           7 years ago
  • 3.3.11                                ...           7 years ago
  • 3.3.10                                ...           7 years ago
  • 3.3.9                                ...           7 years ago
  • 3.3.8                                ...           7 years ago
  • 3.3.7                                ...           7 years ago
  • 3.3.6                                ...           7 years ago
  • 3.3.5                                ...           7 years ago
  • 3.3.4                                ...           7 years ago
  • 3.3.3                                ...           7 years ago
  • 3.3.2                                ...           7 years ago
  • 3.3.1                                ...           7 years ago
  • 3.3.0                                ...           7 years ago
  • 3.2.8                                ...           7 years ago
  • 3.2.7                                ...           7 years ago
  • 3.2.6                                ...           7 years ago
  • 3.2.5                                ...           7 years ago
  • 3.2.4                                ...           7 years ago
  • 3.2.3                                ...           7 years ago
  • 3.2.2                                ...           7 years ago
  • 3.2.1                                ...           7 years ago
  • 3.2.0                                ...           7 years ago
  • 3.1.10                                ...           7 years ago
  • 3.1.9                                ...           7 years ago
  • 3.1.8                                ...           7 years ago
  • 3.1.7                                ...           7 years ago
  • 3.1.6                                ...           7 years ago
  • 3.1.5                                ...           7 years ago
  • 3.1.4                                ...           7 years ago
  • 3.1.3                                ...           7 years ago
  • 3.1.2                                ...           7 years ago
  • 3.1.1                                ...           7 years ago
  • 3.1.0                                ...           7 years ago
  • 3.0.8                                ...           7 years ago
  • 3.0.7                                ...           7 years ago
  • 3.0.6                                ...           7 years ago
  • 3.0.5                                ...           7 years ago
  • 3.0.4                                ...           7 years ago
  • 3.0.3                                ...           8 years ago
  • 3.0.2                                ...           8 years ago
  • 3.0.1                                ...           8 years ago
  • 3.0.0                                ...           8 years ago
  • 2.10.3                                ...           8 years ago
  • 2.10.1                                ...           8 years ago
  • 2.10.0                                ...           8 years ago
  • 2.9.7                                ...           8 years ago
  • 2.9.6                                ...           8 years ago
  • 2.9.4                                ...           8 years ago
  • 2.9.3                                ...           8 years ago
  • 2.9.2                                ...           8 years ago
  • 2.9.1                                ...           8 years ago
  • 2.9.0                                ...           8 years ago
  • 2.8.1                                ...           8 years ago
  • 2.8.0                                ...           8 years ago
  • 2.7.5                                ...           8 years ago
  • 2.7.4                                ...           8 years ago
  • 2.7.3                                ...           8 years ago
  • 2.7.2                                ...           8 years ago
  • 2.7.0                                ...           9 years ago
  • 2.6.0                                ...           9 years ago
  • 2.5.2                                ...           9 years ago
  • 2.5.1                                ...           9 years ago
  • 2.4.2                                ...           9 years ago
  • 2.4.1                                ...           9 years ago
  • 2.4.0                                ...           9 years ago
  • 2.3.4                                ...           9 years ago
  • 2.3.3                                ...           9 years ago
  • 2.3.2                                ...           9 years ago
  • 2.3.0                                ...           9 years ago
  • 2.2.1                                ...           9 years ago
  • 2.1.3                                ...           9 years ago
  • 1.29.5                                ...           9 years ago
Maintainers (1)
Downloads
Today 220
This Week 5,758
This Month 29,901
Last Day 2,916
Last Week 14,124
Last Month 77,309
Dependents (3611)

Copyright 2014 - 2017 © taobao.org |