Package
d3-contour
Compute contour polygons using marching squares.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 14.8m
- +298% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 1
- Direct, from package.json
- Last release
- 3 years ago
- v4.0.2
- GitHub stars
- 522
- 63 forks
- Open issues / PRs
- 5 / 5
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
14,772,234 downloads last week, 72,592,771 in the last month. The 12-month change of +298% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 017 in total
- Latest version
- 4.0.2, 11 Jan 20233 years ago
- First published
- 4 Apr 2017
- Last push to GitHub
- 26 Nov 2024667 days before the snapshot
- Repository archived
- No
- Open issues
- 5
- Open pull requests
- 5
- Commits, last 52 weeks
- 0
- Dependents on npm
- 89
Major versions
- v4 first release 4.0.0, 3 Jul 2022
- v3 first release 3.0.0, 5 Jun 2021
- v2 first release 2.0.0, 18 Aug 2020
- v1 first release 1.0.0, 6 Apr 2017
- v0 first release 0.0.1, 4 Apr 2017
Recent releases
| Version | Published |
|---|---|
| 4.0.2 | 11 Jan 2023 |
| 4.0.1 | 8 Jan 2023 |
| 4.0.0 | 3 Jul 2022 |
| 3.1.0 | 26 Jun 2022 |
| 3.0.2 | 24 Jun 2022 |
| 3.0.1 | 5 Jun 2021 |
| 3.0.0 | 5 Jun 2021 |
| 2.0.0 | 18 Aug 2020 |
| 1.3.2 | 24 Aug 2018 |
| 1.3.1 | 24 Aug 2018 |
| 1.3.0 | 21 Jun 2018 |
| 1.2.0 | 28 Feb 2018 |
| 1.1.2 | 8 Dec 2017 |
| 1.1.1 | 24 Jun 2017 |
- Module format
- ESM onlyFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- >=12
- Runtimes
- -
- Unpacked size (npm)
- 48 kB
- Dependencies (1)
d3-array
npm install d3-contourCDN
jsDelivr: 3.5m requests in 30 days
- jsDelivr
https://cdn.jsdelivr.net/npm/d3-contour@4.0.2/ - unpkg
https://unpkg.com/d3-contour@4.0.2/ - esm.sh
https://esm.sh/d3-contour@4.0.2
Indexability: Indexed.