# d3-geo

> Shapes and calculators for spherical coordinates.

Latest version **3.1.1** (published 2024-03-12) · ISC license · 0 weekly downloads

## Install

```sh
npm install d3-geo
pnpm add d3-geo
yarn add d3-geo
bun add d3-geo
```

## Health

**Score 28/100 (F)** — status: abandoned.

Positive: has types package; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.1.1 |
| Published | 2024-03-12 |
| First published | 2014-03-29 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | separate (@types/d3-geo) |
| Module format | ESM + CommonJS |
| Node | >=12 |
| Dependencies | 1 |
| Unpacked size | 221.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1098 |
| Author | Mike Bostock |
| Maintainers | mbostock, recifs |
| Keywords | d3, d3-module, geo, maps, cartography |

## Links

- npm: https://www.npmjs.com/package/d3-geo
- Repository: https://github.com/d3/d3-geo
- Homepage: https://d3js.org/d3-geo/
- Issues: https://github.com/d3/d3-geo/issues
- npm.io page: https://npm.io/package/d3-geo

## Dependencies (1)

- [d3-array](https://npm.io/package/d3-array.md) 2.5.0 - 3

## Alternatives

- [d3-force-3d](https://npm.io/package/d3-force-3d.md) — 1.0M weekly downloads
- [ng2-charts](https://npm.io/package/ng2-charts.md) — 486.8K weekly downloads
- [@arcgis/core](https://npm.io/package/@arcgis/core.md) — 257.8K weekly downloads
- [react-sparklines](https://npm.io/package/react-sparklines.md) — 249.3K weekly downloads
- [react-native-gifted-charts](https://npm.io/package/react-native-gifted-charts.md) — 182.3K weekly downloads

## Recent versions

- 3.1.1 (latest) — 2024-03-12
- 2.0.2 (two) — 2021-06-09
- 2.0.0-rc.2 (next) — 2020-07-30
- 3.1.0 — 2022-12-20
- 3.0.1 — 2021-06-05
- 3.0.0 — 2021-06-05
- 2.0.1 — 2020-08-26
- 2.0.0 — 2020-08-23
- 2.0.0-rc.1 — 2020-07-27
- 1.12.1 — 2020-05-27
- 1.12.0 — 2020-04-18
- 1.11.9 — 2019-11-16
- 1.11.8 — 2019-11-12
- 1.11.7 — 2019-11-07
- 1.11.6 — 2019-06-21
- … 39 more at https://npm.io/package/d3-geo/versions

## README

# d3-geo

<a href="https://d3js.org"><img src="https://github.com/d3/d3/raw/main/docs/public/logo.svg" width="256" height="256"></a>

This module uses spherical [GeoJSON](http://geojson.org/geojson-spec.html) to represent geographic features in JavaScript. D3 supports a wide variety of common and [unusual](https://github.com/d3/d3-geo-projection) map projections. And because D3 uses spherical geometry to represent data, you can apply any aspect to any projection by rotating geometry.

## Resources

- [Documentation](https://d3js.org/d3-geo)
- [Examples](https://observablehq.com/collection/@d3/d3-geo)
- [Releases](https://github.com/d3/d3-geo/releases)
- [Getting help](https://d3js.org/community)

---
_Source: https://npm.io/package/d3-geo · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
