Skip to content
JS
Package

d3-hierarchy

Layout algorithms for visualizing hierarchical data.

v3.1.2, 2 Apr 2022ISCESM onlyTypes: NoneCharts and data visualisation
$ npm install d3-hierarchy

Key numbers

As of 25 Sept 2026
Weekly downloads
17.3m
+231% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
4 years ago
v3.1.2
GitHub stars
1.3k
316 forks
Open issues / PRs
18 / 8
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
010m20m30mSept 2025Mar 2026Sept 2026High 23.7m (25 Aug 2026)Low 3.8m (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.

17,278,762 downloads last week, 87,046,878 in the last month. The 12-month change of +231% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
030 in total
Latest version
3.1.2, 2 Apr 20224 years ago
First published
4 Nov 2015
Last push to GitHub
8 Apr 2025534 days before the snapshot
Repository archived
No
Open issues
18
Open pull requests
8
Commits, last 52 weeks
0
Dependents on npm
663

Major versions

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

Recent releases

VersionPublished
3.1.22 Apr 2022
3.1.110 Dec 2021
3.1.04 Dec 2021
3.0.15 Jun 2021
3.0.04 Jun 2021
2.0.023 Aug 2020
1.1.916 Nov 2019
1.1.824 Aug 2018
1.1.724 Aug 2018
1.1.616 Apr 2018
1.1.59 Jun 2017
1.1.410 Mar 2017
1.1.32 Mar 2017
1.1.29 Feb 2017
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=12
Runtimes
-
Unpacked size (npm)
133 kB
Dependencies (0)
None
npm install d3-hierarchy

CDN

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

Indexability: Indexed.