unstale

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 init

@unstale/cli 0.2.11 on npm

d3 74 changes

Breaking changes 4

  • Reverts the fix for collinear diagrams, changing how d3-delaunay handles them.

    7.9.2release notes

  • The published package now provides an ES module bundle instead of separate source files.

    7.9.1release notes

  • D3 now requires Node.js 12 or higher.

    7.0.0release notes

  • D3 adopts type: module, changing its package module format.

    7.0.0release notes

d3 66 changes

Breaking changes 5

New APIs and options 1

  • D3 adopts ES2015, including support for iterables and collections such as Map and Set.

    6.0.0release notes

d3 52 changes

Breaking changes 1

  • Removed the twenty-color categorical schemes because their grouped design could falsely imply relationships or order in data.

    5.0.0release notes

Fixes and other changes 1

  • Fixed duplicate installation of D3 modules at different versions.

    5.0.0release notes

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.

    4.0.0release notes

Performance 1

  • Homogenous transitions, such as those sharing interpolators across elements, perform better.

    4.0.0release notes

Fixes and other changes 1

  • Transition state persistence and enforcement were improved.

    4.0.0release notes