Package
d3-force
Force-directed graph layout using velocity Verlet integration.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 16.7m
- +251% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 3
- Direct, from package.json
- Last release
- 5 years ago
- v3.0.0
- GitHub stars
- 2k
- 393 forks
- Open issues / PRs
- 15 / 12
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
16,729,336 downloads last week, 75,897,532 in the last month. The 12-month change of +251% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 035 in total
- Latest version
- 3.0.0, 5 Jun 20215 years ago
- First published
- 5 Apr 2016
- Last push to GitHub
- 30 Dec 2023999 days before the snapshot
- Repository archived
- No
- Open issues
- 15
- Open pull requests
- 12
- Commits, last 52 weeks
- 0
- Dependents on npm
- 598
Major versions
- v3 first release 3.0.0, 5 Jun 2021
- v2 first release 2.0.0, 16 Dec 2018
- v1 first release 1.0.0, 24 Jun 2016
- v0 first release 0.0.1, 5 Apr 2016
Recent releases
| Version | Published |
|---|---|
| 3.0.0 | 5 Jun 2021 |
| 2.1.1 | 23 Aug 2020 |
| 2.1.0 | 19 Aug 2020 |
| 1.2.1 | 14 Mar 2019 |
| 2.0.1 | 14 Mar 2019 |
| 1.2.0 | 23 Jan 2019 |
| 2.0.0 | 16 Dec 2018 |
| 1.1.2 | 24 Aug 2018 |
| 1.1.1 | 24 Aug 2018 |
| 1.1.0 | 30 Sept 2017 |
| 1.0.6 | 10 Mar 2017 |
| 1.0.5 | 28 Feb 2017 |
| 1.0.4 | 23 Nov 2016 |
| 1.0.3 | 7 Oct 2016 |
- Module format
- ESM onlyFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- >=12
- Runtimes
- -
- Unpacked size (npm)
- 87 kB
- Dependencies (3)
d3-timerd3-dispatchd3-quadtree
npm install d3-forceCDN
jsDelivr: 3.5m requests in 30 days
- jsDelivr
https://cdn.jsdelivr.net/npm/d3-force@3.0.0/ - unpkg
https://unpkg.com/d3-force@3.0.0/ - esm.sh
https://esm.sh/d3-force@3.0.0
Indexability: Indexed.