npm / d3
d3
What changed in d3 4 to 7, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-05.
11 breaking1 new APIs and options1 performance2 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initd3 74 changes
Breaking changes 4
Reverts the fix for collinear diagrams, changing how d3-delaunay handles them.
The published package now provides an ES module bundle instead of separate source files.
D3 now requires Node.js 12 or higher.
D3 adopts type: module, changing its package module format.
d3 66 changes
Breaking changes 5
Support for Bower is removed.
d3.clientPoint is removed.
d3.mouse is removed.
d3.touch is removed.
d3.touches is removed.
New APIs and options 1
D3 adopts ES2015, including support for iterables and collections such as Map and Set.
d3 52 changes
Breaking changes 1
Removed the twenty-color categorical schemes because their grouped design could falsely imply relationships or order in data.
Fixes and other changes 1
Fixed duplicate installation of D3 modules at different versions.
d3 43 changes
Breaking changes 1
D3 is composed of independently usable libraries, each with its own repository and release cycle; the modular approach also improves custom bundles and plugins.
Performance 1
Homogenous transitions, such as those sharing interpolators across elements, perform better.
Fixes and other changes 1
Transition state persistence and enforcement were improved.