Package
d3-hierarchy
Layout algorithms for visualizing hierarchical data.
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
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
- v3 first release 3.0.0, 4 Jun 2021
- v2 first release 2.0.0, 23 Aug 2020
- v1 first release 1.0.0, 24 Jun 2016
- v0 first release 0.0.1, 4 Nov 2015
Recent releases
| Version | Published |
|---|---|
| 3.1.2 | 2 Apr 2022 |
| 3.1.1 | 10 Dec 2021 |
| 3.1.0 | 4 Dec 2021 |
| 3.0.1 | 5 Jun 2021 |
| 3.0.0 | 4 Jun 2021 |
| 2.0.0 | 23 Aug 2020 |
| 1.1.9 | 16 Nov 2019 |
| 1.1.8 | 24 Aug 2018 |
| 1.1.7 | 24 Aug 2018 |
| 1.1.6 | 16 Apr 2018 |
| 1.1.5 | 9 Jun 2017 |
| 1.1.4 | 10 Mar 2017 |
| 1.1.3 | 2 Mar 2017 |
| 1.1.2 | 9 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-hierarchyCDN
jsDelivr: 5m requests in 30 days
- jsDelivr
https://cdn.jsdelivr.net/npm/d3-hierarchy@3.1.2/ - unpkg
https://unpkg.com/d3-hierarchy@3.1.2/ - esm.sh
https://esm.sh/d3-hierarchy@3.1.2
Indexability: Indexed.