NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm
npm, #2568 most downloaded on npm
Compute contour polygons using marching squares.
Latest stable
4.0.3
Last release 19 days ago
03 Nov 2026
Ships unpredictably
gaps range from 9 days to 3.8 years
Most releases are documented
notes for 16 of 18 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
19 releases · first in 2017
Drag across the ruler to compare, or tap a release to open it.
Publish an ES module bundle instead of separate source files.
Fix missing contours at extrema when using default thresholds. #67 #68
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Fix handling of null, undefined, NaN, and -Infinity. #61
*density*.bandwidth now supports fractional (non-integer) values. #60
* Add *density*.contours. #58
Fix the interpretation of an array of numbers passed to _density_.thresholds. #57
* Update dependencies. * Make build reproducible.
Generate contours at nicer round tick values. #51
This package now requires Node.js 12 or higher. For more, please read Sindre Sorhus’s FAQ.
This release adopts ES2015 language features such as for-of and drops support for older browsers, including IE. If you need to support pre-ES2015 envi
This release adopts ES2015 language features such as for-of and drops support for older browsers, including IE. If you need to support pre-ES2015 environments, you should stick with d3-contour 1.x or use a transpiler.
Nothing published for this version
Housekeeping.
Update dependencies.
Add *density*.weight. Thanks, @jheer @ilyabo!
* Add *countours*.contour.
Remove example images from the published npm package.
Fix assignment of holes to exterior rings in multipolygons. (#12) Thanks, @dongli!
Add d3.contourDensity for fast two-dimensional density contour estimation.
Nothing published for this version
Nothing published for this version
One column per quarter.