Skip to content
JS
Package

d3-shape

Graphical primitives for visualization, such as lines and areas.

v3.2.0, 20 Dec 2022ISCESM onlyTypes: NoneCharts and data visualisation
$ npm install d3-shape

Key numbers

As of 25 Sept 2026
Weekly downloads
68.8m
+381% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
3 years ago
v3.2.0
GitHub stars
2.5k
307 forks
Open issues / PRs
17 / 5
Contributors
19
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
025m50m75m100mSept 2025Mar 2026Sept 2026High 92.9m (18 Aug 2026)Low 11.5m (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.

68,790,130 downloads last week, 332,702,573 in the last month. The 12-month change of +381% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
041 in total
Latest version
3.2.0, 20 Dec 20223 years ago
First published
11 Nov 2015
Last push to GitHub
6 Oct 20231,084 days before the snapshot
Repository archived
No
Open issues
17
Open pull requests
5
Commits, last 52 weeks
0
Dependents on npm
1,957

Major versions

  1. v3 first release 3.0.0, 4 Jun 2021
  2. v2 first release 2.0.0, 19 Aug 2020
  3. v1 first release 1.0.0, 24 Jun 2016
  4. v0 first release 0.0.1, 11 Nov 2015

Recent releases

VersionPublished
3.2.020 Dec 2022
3.1.07 Jan 2022
3.0.15 Jun 2021
3.0.04 Jun 2021
2.1.010 Mar 2021
2.0.019 Aug 2020
1.3.716 Nov 2019
1.3.616 Nov 2019
1.3.519 Mar 2019
1.3.44 Feb 2019
1.3.324 Jan 2019
1.3.223 Jan 2019
1.3.023 Jan 2019
1.2.323 Jan 2019
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=12
Runtimes
-
Unpacked size (npm)
241 kB
Dependencies (1)
d3-path
npm install d3-shape

CDN

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

Indexability: Indexed.