Skip to content
JS
Package

d3-contour

Compute contour polygons using marching squares.

v4.0.2, 11 Jan 2023ISCESM onlyTypes: NoneCharts and data visualisation
$ npm install d3-contour

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
05m10m15m20mSept 2025Mar 2026Sept 2026High 19.5m (25 Aug 2026)Low 2.7m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

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

  1. v4 first release 4.0.0, 3 Jul 2022
  2. v3 first release 3.0.0, 5 Jun 2021
  3. v2 first release 2.0.0, 18 Aug 2020
  4. v1 first release 1.0.0, 6 Apr 2017
  5. v0 first release 0.0.1, 4 Apr 2017

Recent releases

VersionPublished
4.0.211 Jan 2023
4.0.18 Jan 2023
4.0.03 Jul 2022
3.1.026 Jun 2022
3.0.224 Jun 2022
3.0.15 Jun 2021
3.0.05 Jun 2021
2.0.018 Aug 2020
1.3.224 Aug 2018
1.3.124 Aug 2018
1.3.021 Jun 2018
1.2.028 Feb 2018
1.1.28 Dec 2017
1.1.124 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-contour

CDN

jsDelivr: 3.5m requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/d3-contour@4.0.2/
  • unpkghttps://unpkg.com/d3-contour@4.0.2/
  • esm.shhttps://esm.sh/d3-contour@4.0.2
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.