NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm
npm, #1960 most downloaded on npm
Shapes and calculators for spherical coordinates.
Latest stable
3.1.2
Last release 19 days ago
03 Nov 2026
Release timing varies
gaps range from 9 days to 2.6 years
Most releases are documented
notes for 42 of 53 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
55 releases · first in 2014
Drag across the ruler to compare, or tap a release to open it.
Publish an ES module bundle instead of separate source files.
Change d3.geoCircle precision to 2 degrees. #281
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Add configurable precision when generating SVG path data via _path_.digits (default 3). #272 #271
* Update dependencies. * Make build reproducible.
This package now requires Node.js 12 or higher. For more, please read Sindre Sorhus’s FAQ.
This package now requires Node.js 12 or higher. For more, please read Sindre Sorhus’s FAQ.
Nothing published for this version
fix d3-array dependency to >=2.5
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-geo 1.x or use a transpiler.
Nothing published for this version
Nothing published for this version
fix clipping of degenerate polygons (#196 #197 https://github.com/vega/vega/issues/2572)
bring *identity* on par with other projections:
bring identity on par with other projections:
fix the conic inverse projections
v1.11.9 Compare # Choose a tag to compare
v1.11.9
Compare
Mark the package as having no side effects (#174). thanks, @stof!
Note: v1.11.7 was cancelled because of a premature relaxation of d3-array dependency to 1-2. (See https://github.com/d3/d3-geo/issues/176).
Nothing published for this version
Fix ES2015 syntax inadvertently introduced in 1.11.4.
correct version in package.json
fix geoContains for LineStrings (#154) Thanks, @ondras!
Fix projection where |longitude| > 180°.
Nothing published for this version
Nothing published for this version
* Add d3.geoEqualEarth. * Use world-atlas for tests. * Update dependencies.
* Add *projection*.angle.
Remove example images from the published npm package.
Add *projection*.fitWidth, *projection*.fitHeight. (#72) Thanks, @mfogel!
* Add *projection*.preclip. * Add *projection*.postclip. * Add d3.geoClipAntimeridian. * Add d3.geoClipCircle. * Add d3.geoClipRectangle.
Fix export of d3.geoNaturalEarth1Raw. Thanks, @mthh!
Add d3.geoNaturalEarth1. Thanks, @Fil!
Optimize *path*.pointRadius slightly.
Fix the Mercator projection’s built-in clipping when *projection*.rotate is used.
Nothing published for this version
Fix the Mercator projection’s built-in clipping when _projection_.center is used.
Add d3.geoContains. Thanks, @Fil!
Fix d3.geoCentroid for detailed features. Thanks, @Fil!
Nothing published for this version
Nothing published for this version
Add _identity_.reflectX and _identity_.reflectY (#68).
Fix missing export for d3.geoGraticule10.
Deprecate d3.geoClipExtent; use d3.geoIdentity’s clipExtent instead.
Fix d3.geoConicConformal’s invert for south-pointing cones (#61, d3/d3#2707).
Fix cache invalidation bug in d3.geoAlbersUsa (#59).
- Optimize d3.geoPath (#58).
Fix d3.geoStereographic’s invert (#57; thanks, @Fil!).
Add module entry point to package.json.
module entry point to package.json.Fix crash in d3.geoBounds (#51).
Add _projection_.fitExtent and _projection_.fitSize (#50). Thanks, @veltman!
Nothing published for this version
- Export raw projections (#43).
Pursuant to the great namespace flattening, various methods have new names:
Pursuant to the great namespace flattening, various methods have new names:
Also renamed for consistency:
Projections now have more appropriate defaults. For example, d3.geoOrthographic has a 90° clip angle by default, showing only the front hemisphere, and d3.geoGnomonic has a default 60° clip angle. The default projection for d3.geoPath is now null rather than d3.geoAlbersUsa; a null projection is used with pre-projected geometry and is typically faster to render.
“Fallback projections”—when you pass a function rather than a projection to path.projection—are no longer supported. For geographic projections, use d3.geoProjection or d3.geoProjectionMutator to define a custom projection. For arbitrary geometry transformations, implement the stream interface; see also d3.geoTransform. The “raw” projections (e.g., d3.geo.equirectangular.raw) are no longer exported.
See CHANGES for all D3 changes since 3.x.
d3.geoTransform once again implements _projection_.stream.
Fix _projection_(_point_) for d3.geoAlbersUsa (#39).
Better default settings for projections (#38).
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.