Package
d3-zoom
Pan and zoom SVG, HTML or Canvas using mouse or touch input.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 22.5m
- +261% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 5
- Direct, from package.json
- Last release
- 5 years ago
- v3.0.0
- GitHub stars
- 535
- 142 forks
- Open issues / PRs
- 16 / 7
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
22,514,374 downloads last week, 102,461,223 in the last month. The 12-month change of +261% 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, 10 Jun 20215 years ago
- First published
- 2 May 2016
- Last push to GitHub
- 30 Apr 2024877 days before the snapshot
- Repository archived
- No
- Open issues
- 16
- Open pull requests
- 7
- Commits, last 52 weeks
- 0
- Dependents on npm
- 594
Major versions
- v3 first release 3.0.0, 10 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, 2 May 2016
Recent releases
| Version | Published |
|---|---|
| 3.0.0 | 10 Jun 2021 |
| 2.0.0 | 23 Aug 2020 |
| 1.8.3 | 10 Aug 2019 |
| 1.8.2 | 10 Aug 2019 |
| 1.8.1 | 9 Aug 2019 |
| 1.8.0 | 9 Aug 2019 |
| 1.7.4 | 7 Aug 2019 |
| 1.7.3 | 24 Aug 2018 |
| 1.7.2 | 24 Aug 2018 |
| 1.7.1 | 30 Oct 2017 |
| 1.7.0 | 25 Oct 2017 |
| 1.6.0 | 3 Oct 2017 |
| 1.5.0 | 14 Jul 2017 |
| 1.4.0 | 14 Jul 2017 |
- Module format
- ESM onlyFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- >=12
- Runtimes
- -
- Unpacked size (npm)
- 85 kB
- Dependencies (5)
d3-dragd3-dispatchd3-selectiond3-transitiond3-interpolate
npm install d3-zoomCDN
jsDelivr: 3.5m requests in 30 days
- jsDelivr
https://cdn.jsdelivr.net/npm/d3-zoom@3.0.0/ - unpkg
https://unpkg.com/d3-zoom@3.0.0/ - esm.sh
https://esm.sh/d3-zoom@3.0.0
Indexability: Indexed.