Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1402 commits
Select commit Hold shift + click to select a range
4a62ae5
Correct typos in d3-axis documentation, "axisTight" -> "axisRight"; "…
pl12133 Nov 22, 2016
748cf52
Update dependencies.
mbostock Nov 23, 2016
f797dfe
4.4.0
mbostock Nov 23, 2016
caa335e
Update d3-voronoi, d3-zoom.
mbostock Jan 6, 2017
c57952f
4.4.1
mbostock Jan 6, 2017
72556da
Update d3-interpolate, rollup.
mbostock Jan 18, 2017
b41a5fe
4.4.2
mbostock Jan 18, 2017
a9dadca
Fix #3055.
mbostock Jan 20, 2017
f0dd621
4.4.3
mbostock Jan 20, 2017
17fbf8d
Add test for d3.event re-export on Node. Related #3055.
mbostock Jan 20, 2017
ae384d6
Use ${npm_package_version}.
mbostock Jan 20, 2017
0700ba1
Update d3-timer.
mbostock Jan 23, 2017
25e7759
4.4.4
mbostock Jan 23, 2017
635d447
Missing semicolon
oller Jan 26, 2017
d2278c7
link v3 and v4 tickSizeInner & tickSizeOuter
micahstubbs Jan 26, 2017
23f63ca
Update CHANGES.
mbostock Jan 26, 2017
559f497
Link to README.
mbostock Jan 26, 2017
b798436
Update d3-hierarchy.
mbostock Jan 29, 2017
b080bf3
4.5.0
mbostock Jan 29, 2017
5f9b9d5
fixed inconsistent subheading levels (### or ####)
eglassman Feb 15, 2017
a326837
Update d3-geo, d3-hierarchy.
mbostock Feb 18, 2017
1dda791
4.5.1
mbostock Feb 18, 2017
0fd0361
Merge branch 'master' of github.com:d3/d3
mbostock Feb 18, 2017
b2456e0
HTTPS for bl.ocks.org.
mbostock Feb 19, 2017
2097c34
Update d3-geo.
mbostock Feb 19, 2017
7f9be64
4.6.0
mbostock Feb 19, 2017
fb47694
Add missing methods to API index.
mbostock Feb 19, 2017
eadbaf3
Update dependencies.
mbostock Feb 28, 2017
bb4b00f
4.7.0
mbostock Feb 28, 2017
854e745
Update dependencies.
mbostock Mar 2, 2017
ba3e6c4
4.7.1
mbostock Mar 2, 2017
f7b9b35
Update dependencies.
mbostock Mar 10, 2017
3c307f6
4.7.2
mbostock Mar 10, 2017
dc09d5a
Update d3-geo.
mbostock Mar 13, 2017
4227c3c
4.7.3
mbostock Mar 13, 2017
9d49366
Update year to 2017 in License. Closes #3084
curran Mar 22, 2017
fc59f34
Update d3-zoom.
mbostock Mar 24, 2017
514a186
4.7.4
mbostock Mar 24, 2017
aef844f
Update dependencies.
mbostock Apr 15, 2017
02d5392
4.8.0
mbostock Apr 15, 2017
0a58fc3
Update.
mbostock May 15, 2017
cc59d86
4.9.0
mbostock May 15, 2017
e32895d
Update dependencies.
mbostock May 16, 2017
e6cab56
4.9.1
mbostock May 16, 2017
5d39996
Update dependencies.
mbostock Jul 14, 2017
62faf7d
4.10.0
mbostock Jul 14, 2017
5524246
Remove package-lock.json.
mbostock Sep 2, 2017
39154c5
Update dependencies.
mbostock Sep 2, 2017
012041c
4.10.1
mbostock Sep 2, 2017
183ba0b
Update d3-timer.
mbostock Sep 3, 2017
41dad64
4.10.2
mbostock Sep 3, 2017
aa1c357
Adding some missing descriptions...
alexmacy Jul 7, 2017
798e5a8
forgot a 'raw'
alexmacy Jul 8, 2017
e726098
Update API.md
alexmacy Jul 8, 2017
55e9776
Update dependencies.
mbostock Oct 3, 2017
ab88172
4.11.0
mbostock Oct 3, 2017
a1e813a
Update dependencies.
mbostock Nov 21, 2017
b41ec9a
4.12.0
mbostock Nov 21, 2017
b76eaa3
Point CDN at minified build.
mbostock Dec 26, 2017
2caba81
4.12.1
mbostock Dec 26, 2017
2cdf705
Pin to earlier UglifyJS.
mbostock Dec 26, 2017
6480d20
4.12.2
mbostock Dec 26, 2017
705d7ad
Update desc of color.toString to match v4 functionality
zanarmstrong Jan 18, 2018
30880a0
Tweak wording.
mbostock Jan 18, 2018
19c59ba
Prepare for major release.
mbostock Jan 28, 2018
f3ea70d
Update API.
mbostock Jan 28, 2018
7fc15ab
Prepare for major release.
mbostock Jan 28, 2018
a85cfbd
Update API.
mbostock Jan 29, 2018
100483e
Add yarn.lock.
mbostock Jan 29, 2018
e1b691a
Fix #3256 - don’t pin versions.
mbostock Jan 29, 2018
5fbfc8c
Remove d3-queue. Fixes #3260.
mbostock Feb 7, 2018
58477f6
Update API.
mbostock Feb 7, 2018
44bace0
Remove d3-queue.
mbostock Feb 7, 2018
82445ba
5.0.0-rc.4
mbostock Feb 28, 2018
3fa7ace
5.0.0
mbostock Mar 22, 2018
b7e3516
Update CHANGES.
mbostock Mar 22, 2018
811ff50
Update API.
mbostock Mar 22, 2018
5f1e8bc
Update CHANGES.
mbostock Mar 22, 2018
9bd8e37
Update CHANGES.
mbostock Mar 22, 2018
2b8ba30
Update CHANGES.
mbostock Mar 22, 2018
cfe28d8
Update CHANGES.
mbostock Mar 22, 2018
932a66d
Update CHANGES.md
mbostock Mar 22, 2018
409ee40
Update CHANGES.md
mbostock Mar 22, 2018
4a7cc9f
Update API.md
mbostock Mar 31, 2018
b707ed5
Update d3-hierarchy.
mbostock Apr 16, 2018
bbd0cb4
5.0.1
mbostock Apr 16, 2018
2ff6e84
Update d3-color.
mbostock Apr 17, 2018
7a7e13e
5.0.2
mbostock Apr 17, 2018
8a0140d
Update d3-color.
mbostock Apr 17, 2018
18e77c2
5.1.0
mbostock Apr 17, 2018
f7b65c8
Set missing links for d3-contour
denisname May 3, 2018
a29b01f
Update d3-color, d3-interpolate.
mbostock May 7, 2018
6854c3e
5.2.0
mbostock May 7, 2018
293d537
Update d3-format.
mbostock May 9, 2018
9d5a8e4
v5.3.0
mbostock May 9, 2018
47c0ec4
Update d3-scale-chromatic.
mbostock May 11, 2018
e28f0f2
v5.4.0
mbostock May 11, 2018
6c9a9c7
Update d3-scale.
mbostock Jun 16, 2018
55f951e
5.5.0
mbostock Jun 16, 2018
c8b83ee
Update d3-axis, d3-contour.
mbostock Aug 20, 2018
2b17afb
5.6.0
mbostock Aug 20, 2018
ca06346
Update dependencies.
mbostock Aug 24, 2018
3cda1fd
Tweak comment.
mbostock Aug 24, 2018
e35d1f7
5.7.0
mbostock Aug 24, 2018
7880e6a
Update API.
mbostock Aug 24, 2018
3e2bbb5
fix typo: preceeding -> preceding
nikolas Aug 29, 2018
d3572ad
API.md: radialLine must be lineRadial
denisname May 13, 2018
a85980c
Update dependencies.
mbostock Jan 28, 2019
312861a
5.8.0
mbostock Jan 28, 2019
26cf378
Update d3-shape.
mbostock Feb 4, 2019
2334212
5.8.1
mbostock Feb 4, 2019
ee247d7
Update d3-time.
mbostock Feb 5, 2019
096e3d6
5.8.2
mbostock Feb 5, 2019
70b4539
Update d3-dsv.
mbostock Feb 7, 2019
f025ca4
5.9.0
mbostock Feb 7, 2019
328a3dc
Update d3-dsv, d3-quadtree.
mbostock Feb 10, 2019
6223dc3
5.9.1
mbostock Feb 10, 2019
fbae734
Update d3-force.
mbostock Mar 14, 2019
ec6507c
5.9.2
mbostock Mar 14, 2019
7615be9
Version API links.
mbostock May 2, 2019
30a5278
Update dependencies.
mbostock Jun 26, 2019
1e520f1
5.9.3
mbostock Jun 26, 2019
6983b24
Update dependencies.
mbostock Jun 26, 2019
f923ef9
5.9.4
mbostock Jun 26, 2019
6920116
Update d3-color.
mbostock Jun 27, 2019
683a1bd
5.9.5
mbostock Jun 27, 2019
24cbe60
Update d3-color.
mbostock Jun 28, 2019
663caa7
5.9.6
mbostock Jun 28, 2019
4efb217
Update d3-color.
mbostock Jun 28, 2019
5e8bad0
5.9.7
mbostock Jun 28, 2019
d6ce031
Update ISSUE_TEMPLATE.md
mbostock Aug 1, 2019
93ca461
Update ISSUE_TEMPLATE.md
mbostock Aug 1, 2019
78fd616
Update ISSUE_TEMPLATE.md
mbostock Aug 1, 2019
bb13745
Fix images in CHANGES.
mbostock Aug 15, 2019
9eba1b6
Update dependencies.
mbostock Aug 19, 2019
a8a29d4
5.10.0
mbostock Aug 19, 2019
ff3bb0b
Update API.
mbostock Aug 19, 2019
3f0256d
Update CHANGES.
mbostock Aug 19, 2019
6f24f2b
Update API.
mbostock Aug 19, 2019
97676be
Upgrade d3-brush.
mbostock Aug 21, 2019
1f102cf
5.10.1
mbostock Aug 21, 2019
cf39ac0
Update d3-scale-chromatic.
mbostock Aug 21, 2019
c0699c5
5.11.0
mbostock Aug 21, 2019
585fd5c
Update d3-format.
mbostock Sep 7, 2019
b772b03
5.12.0
mbostock Sep 7, 2019
455f1f1
Remove beta from ObservableHQ
tmcw Sep 24, 2019
5f0bea7
Update CHANGES.md
mbostock Sep 25, 2019
e82b30b
Update dependencies.
mbostock Nov 16, 2019
bf28a7f
5.13.0
mbostock Nov 16, 2019
6787abe
Update d3-brush.
mbostock Nov 16, 2019
a660809
5.13.1
mbostock Nov 16, 2019
7f613da
Update dependencies.
mbostock Nov 17, 2019
05efe41
5.14.0
mbostock Nov 17, 2019
eb7c2c2
Update d3-transition.
mbostock Nov 17, 2019
37e9b0e
5.14.1
mbostock Nov 17, 2019
86135e8
Update d3-transition.
mbostock Nov 19, 2019
5064e99
Update d3-brush.
mbostock Nov 20, 2019
ef9dc7c
5.14.2
mbostock Nov 20, 2019
1126611
Squelch Rollup warnings.
mbostock Nov 20, 2019
4223190
Update dependencies.
mbostock Dec 29, 2019
7c711ba
5.15.0
mbostock Dec 29, 2019
1a8655b
Update README.md
mbostock Mar 26, 2020
3c0359a
Update README.md
mbostock Mar 26, 2020
0021f99
Update d3-format.
mbostock Apr 1, 2020
705b98c
5.15.1
mbostock Apr 1, 2020
6be4eaf
Update dependencies.
mbostock Apr 20, 2020
7244e45
5.16.0
mbostock Apr 20, 2020
b3fb0d3
two
Fil Jul 23, 2020
1ba48dc
towards d3v6: use "next" modules all over
Fil Jul 27, 2020
47a043d
next time this should avoid pushing v6 to d3js.org/d3.v5.js and break…
Fil Jul 28, 2020
cca28a0
d3@6.0.0-rc.1
Fil Jul 28, 2020
351d8eb
v6.0.0-rc.2
Fil Jul 31, 2020
1ab926d
dependencies for d3@6.0.0-rc.4
Fil Aug 23, 2020
b30f664
Remove Bower support.
mbostock Aug 23, 2020
69e04c5
Update dependencies.
mbostock Aug 23, 2020
6c71e02
Update dependencies.
mbostock Aug 23, 2020
3890397
upgrade versions
Fil Aug 24, 2020
508895e
d3-array
Fil Aug 24, 2020
de35648
d3-axis, d3-brush
Fil Aug 24, 2020
f4cae16
d3-chord
Fil Aug 24, 2020
edca90c
remove d3-collection
Fil Aug 24, 2020
bd38ade
d3-color
Fil Aug 24, 2020
e3bc539
d3-scale-chromatic (no change) & d3-contour
Fil Aug 24, 2020
1a19de0
d3-dispatch
Fil Aug 24, 2020
7f0361d
d3-drag
Fil Aug 24, 2020
bad1530
d3-dsv
Fil Aug 24, 2020
ad056a3
d3-ease
Fil Aug 24, 2020
091cc38
d3-fetch
Fil Aug 24, 2020
0ce16b2
d3-force
Fil Aug 24, 2020
68130ea
d3-format
Fil Aug 24, 2020
f1b9220
d3-geo
Fil Aug 24, 2020
671329d
d3-hierarchy
Fil Aug 24, 2020
2824093
d3-interpolate
Fil Aug 24, 2020
d9841e4
d3-path (unchanged), d3-polygon (unchanged), d3-quadtree
Fil Aug 24, 2020
989a71a
d3-random
Fil Aug 24, 2020
c86f119
d3-scale
Fil Aug 24, 2020
10db903
d3-selection
Fil Aug 24, 2020
6e8b616
d3-shape
Fil Aug 24, 2020
2169f39
d3-time-format
Fil Aug 24, 2020
eb97db3
d3-time (unchanged), d3-timer (unchanged), d3-transition
Fil Aug 24, 2020
0fab330
remove d3-voronoi, add d3-delaunay
Fil Aug 24, 2020
f0d76e1
d3-zoom
Fil Aug 24, 2020
97ccc38
document all API elements
Fil Aug 24, 2020
4933326
Use the migration guide's summary as CHANGES.md
Fil Aug 25, 2020
de649dd
CHANGES: bower support dropped
Fil Aug 25, 2020
9124252
Merge branch 'six' into drop-bower
Fil Aug 25, 2020
d9cb073
Update CHANGES.md
Fil Aug 25, 2020
8d88270
Merge pull request #3439 from d3/drop-bower
Fil Aug 26, 2020
8feaae5
upgrade d3 dependencies
Fil Aug 26, 2020
b6dc381
Merge pull request #3438 from d3/six
Fil Aug 26, 2020
24f83a3
link to v6
Fil Aug 26, 2020
b24af97
soft release date
Fil Aug 26, 2020
89f298a
v6.0.0
Fil Aug 26, 2020
3b66a6d
Update CHANGES.
mbostock Aug 27, 2020
2c95b54
Update CHANGES.
mbostock Aug 27, 2020
c897595
Update CHANGES.
mbostock Aug 27, 2020
21de72e
Update CHANGES.
mbostock Aug 27, 2020
39cbd29
Update CHANGES.
mbostock Aug 27, 2020
5744b78
Update CHANGES.
mbostock Aug 27, 2020
df81bcc
Update CHANGES.
mbostock Aug 27, 2020
04bdc65
Update CHANGES.
mbostock Aug 27, 2020
8f1982b
Update CHANGES.
mbostock Aug 27, 2020
357c03e
Update CHANGES.
mbostock Aug 27, 2020
8e8ecde
oops I left publishConfig: tag: next
Fil Aug 28, 2020
f001d0a
Update d3-array, d3-random.
mbostock Aug 29, 2020
b1acc34
6.1.0
mbostock Aug 29, 2020
e0b1910
Update d3-array.
mbostock Aug 31, 2020
fd1973a
6.1.1
mbostock Aug 31, 2020
5e516a5
Update year.
mbostock Sep 2, 2020
ffb43e6
Update d3-array, d3-scale.
mbostock Sep 23, 2020
3c63660
6.2.0
mbostock Sep 23, 2020
4d3baf7
Update d3-array.
mbostock Dec 3, 2020
a8baadf
6.3.0
mbostock Dec 3, 2020
ec388d8
Update d3-array.
mbostock Dec 8, 2020
e9fee2c
6.3.1
mbostock Dec 8, 2020
afd34bb
update dependencies
mbostock Jan 22, 2021
12336e3
6.4.0
mbostock Jan 22, 2021
73110b9
d3-array 2.11
mbostock Jan 25, 2021
37cd9bf
6.5.0
mbostock Jan 25, 2021
11aa552
update dependencies
mbostock Mar 10, 2021
607a60f
6.6.0
mbostock Mar 10, 2021
b62d444
fix a typo in API.md
emrez Mar 15, 2021
cff66a4
add space
Fil Mar 18, 2021
ff34b4c
d3-array 2.12.1
mbostock Mar 24, 2021
76c92ca
6.6.1
mbostock Mar 24, 2021
1836b64
update d3-scale
mbostock Mar 29, 2021
31d73d1
6.6.2
mbostock Mar 29, 2021
a8ebbc5
update d3-time, d3-scale
mbostock Apr 16, 2021
5149a2f
6.7.0
mbostock Apr 16, 2021
0f01226
Fix broken markdown for link
jombard May 13, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
_site
node_modules
*.sublime-workspace
.DS_Store
dist/
node_modules
npm-debug.log
4 changes: 0 additions & 4 deletions .npmignore

This file was deleted.

3 changes: 0 additions & 3 deletions .travis.yml

This file was deleted.

1,440 changes: 1,440 additions & 0 deletions API.md

Large diffs are not rendered by default.

1,643 changes: 1,643 additions & 0 deletions CHANGES.md

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
STOP. DO NOT ASK FOR HELP HERE!

If you ignore this message and ask for help anyway, your issue will be closed without a response.

If you want help, please try one of the following forums instead:

Stack Overflow: https://stackoverflow.com/questions/tagged/d3.js
Slack: https://d3-slackin.herokuapp.com/
Google Groups: https://groups.google.com/d/forum/d3-js
Observable: https://observablehq.com/@d3

ARE YOU REPORTING A BUG, OR MAKING A FEATURE REQUEST? Please file an issue on the relevant D3 module, not here; see https://github.com/d3. Please isolate the specific methods that exhibit unexpected behavior and precisely describe how your expectations were not met.
31 changes: 16 additions & 15 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Copyright (c) 2013, Michael Bostock
Copyright 2010-2020 Mike Bostock
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
Expand All @@ -11,16 +11,17 @@ modification, are permitted provided that the following conditions are met:
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

* The name Michael Bostock may not be used to endorse or promote products
derived from this software without specific prior written permission.
* Neither the name of the author nor the names of contributors may be used to
endorse or promote products derived from this software without specific prior
written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL MICHAEL BOSTOCK BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
45 changes: 0 additions & 45 deletions Makefile

This file was deleted.

58 changes: 54 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,57 @@
# Data-Driven Documents
# D3: Data-Driven Documents

**D3.js** is a JavaScript library for manipulating documents based on data. **D3** helps you bring data to life using HTML, SVG and CSS. D3’s emphasis on web standards gives you the full capabilities of modern browsers without tying yourself to a proprietary framework, combining powerful visualization components and a data-driven approach to DOM manipulation.
<a href="https://d3js.org"><img src="https://d3js.org/logo.svg" align="left" hspace="10" vspace="6"></a>

Want to learn more? [See the wiki.](https://github.com/mbostock/d3/wiki)
**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.

For examples, [see the gallery](https://github.com/mbostock/d3/wiki/Gallery) and [mbostock’s bl.ocks](http://bl.ocks.org/mbostock).
## Resources

* [Introduction](https://observablehq.com/@d3/learn-d3)
* [API Reference](https://github.com/d3/d3/blob/master/API.md)
* [Releases](https://github.com/d3/d3/releases)
* [Examples](https://observablehq.com/@d3/gallery)
* [Wiki](https://github.com/d3/d3/wiki)

## Installing

If you use npm, `npm install d3`. Otherwise, download the [latest release](https://github.com/d3/d3/releases/latest). The released bundle supports anonymous AMD, CommonJS, and vanilla environments. You can load directly from [d3js.org](https://d3js.org), [CDNJS](https://cdnjs.com/libraries/d3), or [unpkg](https://unpkg.com/d3/). For example:

```html
<script src="https://d3js.org/d3.v6.js"></script>
```

For the minified version:

```html
<script src="https://d3js.org/d3.v6.min.js"></script>
```

You can also use the standalone D3 microlibraries. For example, [d3-selection](https://github.com/d3/d3-selection):

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

D3 is written using [ES2015 modules](http://www.2ality.com/2014/09/es6-modules-final.html). Create a [custom bundle using Rollup](https://bl.ocks.org/mbostock/bb09af4c39c79cffcde4), Webpack, or your preferred bundler. To import D3 into an ES2015 application, either import specific symbols from specific D3 modules:

```js
import {scaleLinear} from "d3-scale";
```

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

```js
import * as d3 from "d3";
```

In Node:

```js
const d3 = require("d3");
```

You can also require individual modules and combine them into a `d3` object using [Object.assign](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign):

```js
const d3 = Object.assign({}, require("d3-format"), require("d3-geo"), require("d3-geo-projection"));
```
29 changes: 0 additions & 29 deletions bin/bower

This file was deleted.

20 changes: 0 additions & 20 deletions bin/component

This file was deleted.

33 changes: 0 additions & 33 deletions bin/locale

This file was deleted.

3 changes: 0 additions & 3 deletions bin/start

This file was deleted.

34 changes: 0 additions & 34 deletions bin/uglify

This file was deleted.

25 changes: 0 additions & 25 deletions bower.json

This file was deleted.

22 changes: 0 additions & 22 deletions component.json

This file was deleted.

Loading