NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm
npm, #2486 most downloaded on npm
Data-Driven Documents
Latest stable
7.9.2
Last release 19 days ago
03 Nov 2026
Ships unpredictably
gaps range from 9 days to 2.6 years
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
15 years old
275 releases · first in 2011
Drag across the ruler to compare, or tap a release to open it.
Revert d3-delaunay’s fix for collinear diagrams.
Publish an ES module bundle instead of separate source files.
Add d3.schemeObservable10. https://github.com/d3/d3-scale-chromatic/pull/51
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Fix the return value of d3.medianIndex and d3.quantileIndex when the data contains missing values. #275
Fix circumcenters when the hull is collinear. https://github.com/d3/d3-delaunay/pull/142
Fix precision error calculating _voronoi_.neighbors. https://github.com/d3/d3-delaunay/pull/138 https://github.com/d3/d3-delaunay/pull/139
d3.ticks now tries harder to generate at least one tick. https://github.com/d3/d3-array/pull/264
Tolerate invalid input values when generating contours. #61
Rename d3.symbolX to d3.symbolTimes; d3.symbolX is now deprecated.
Add d3.unixDay and d3.unixDays. https://github.com/d3/d3-time/pull/58
_density_.bandwidth now supports fractional (non-integer) values.
* Add d3.blur. * Add d3.blur2. * Add d3.blurImage. * Add d3.medianIndex. * Add d3.quantileIndex.
* Add *density*.contours.
Fix the interpretation of an array of numbers passed to _density_.thresholds.
Fix incorrect behavior of d3.bisector when given an asymmetric comparator.
Fix crash in d3.bin. Thanks, @weiglemc!
Fix off-by-one bin assignment due to rounding error in d3.bin.
Significantly improve the performance of d3.bin.
Add *rgb*.clamp and *hsl*.clamp.
Add d3.symbolsFill, replacing (deprecating) d3.symbols.
Fix _stratify_.path when the top-level directory is only a single character.
* Add _stratify_.path.
d3.rank can now take a comparator in addition to an accessor.
* Add d3.rank.
Default the base-10 log tick format to ~s (SI) instead of .0e (exponential).
~s (SI) instead of .0e (exponential).Don’t mangle InternMap or InternSet in the generated UMD bundle.
Adopt interning for set operations. #231
Fix d3.sort, d3.bisector, and related methods to handle undefined order. #217
Adopt InternMap for ordinal scale domains.
Breaking changes:
Non-breaking changes:
D3 now requires Node.js 12 or higher. For more, please read Sindre Sorhus’s FAQ.
This document covers only major changes. For minor and patch changes, please see the release notes.
D3 now ships as pure ES modules and requires Node.js 12 or higher. For more, please read Sindre Sorhus’s FAQ.
d3.bin now ignores nulls. d3.ascending and d3.descending no longer consider null comparable.
Ordinal scales now use InternMap for domains; domain values are now uniqued by coercing to a primitive value via object.valueOf instead of coercing to a string via object.toString.
Array-likes (e.g., a live NodeList such as element.childNodes) are converted to arrays in d3.selectAll and selection.selectAll.
Add d3.timeTicks and d3.utcTicks.
Fix handling of null with quantitative scales; null is now considered an “unknown” value, not zero.
Fix rounding error in d3.ticks.
Add d3.curveBumpX and d3.curveBumpY. Thanks, @Fil!
Allow d3.sort to take multiple accessors.
Change d3.group, d3.rollup *et al.* to use InternMap.
Fix last bin with d3.bin when the values are not numbers.
d3.sort now may accept an accessor.
Fix d3.bin to nice the domain by default, ensuring uniform bin widths.
Fix imprecision with *bin*.thresholds(*count*).
Fix off-by-one with *bisector*.center.
Adopt ES2015, including support for iterables and collections (Map and Set).
For more on what’s new, see CHANGES.
To upgrade from D3 5.x, see the migration guide.
D3 now uses native collections (Map and Set) and accepts iterables. d3.group and d3.rollup are powerful new aggregation functions that replace d3.nest and work great with d3-hierarchy and d3-selection. There are lots of new helpers in d3-array, too, such as d3.greatest, d3.quickselect, and d3.fsum.
D3 now passes events directly to listeners, replacing the d3.event global and bringing D3 inline with vanilla JavaScript and most other frameworks.
d3-delaunay (based on Vladimir Agafonkin’s excellent Delaunator) replaces d3-voronoi, offering dramatic improvements to performance, robustness, and search. And there’s a new d3-geo-voronoi for spherical (geographical) data! d3-random is greatly expanded and includes a fast linear congruential generator for seeded randomness. d3-chord has new layouts for directed and transposed chord diagrams. d3-scale adds a new radial scale type.
… and a variety of other small enhancements. More than 450 examples have been updated to D3 6.0!
See https://observablehq.com/@d3/d3-array-2-0 for details.
d formatting of numbers greater than or equal to 1e21.Thanks to @Lange, @p-v-d-Veeken, @svanschooten, @Parcly-Taxel and @jrus for your contributions!
For an overview of changes, see https://observablehq.com/@d3/d3-selection-2-0.
%G and %g).D3 6.0 introduces several non-backwards-compatible changes.
D3 now requires a browser that supports ES2015. For older browsers, you must bring your own transpiler.
Lastly, support for Bower has been dropped; D3 is now exclusively published to npm and GitHub.
See our migration guide for help upgrading.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Fix achromatic hexadecimal colors.
Fix sign of near-zero negative values when using the + sign directive.
+ sign directive.Add support for typed arrays to d3.interpolate.
* Expose *brush*.touchable.
Propagate the *this* context to interpolators in *transition*.styleTween, *transition*.attrTween and *transition*.textTween.
Fix handling of zero values in d3.stackOffsetDiverging.
Fix crash initializing d3.brush.
Add support for parsing 4- and 8-digit hexadecimal colors in d3.color. Thanks, @zerovox!
d3.timeDay() returns today’s midnight).%q directive for quarter of the year as a decimal number. Thanks, @jheer!%U when the year starts with Sunday.%W when the year starts with Monday.%L or %f in conjunction with %s.Allow minus sign to be localized in d3.format. Thanks, @benib!
* Add d3.interpolateTurbo. * Add d3.interpolateCividis.
Fix broken brush corner resizers.
Deprecate *color*.hex; use *color*.formatHex instead.
Revert chroma clamping in *hcl*.toString.
Account for rounding when determining whether a color is displayable.
Implement chroma clamping in *hcl*.toString.
One column per quarter.