Package
d3-scale
Encodings that map abstract data to visual representation.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 56.6m
- +353% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 5
- Direct, from package.json
- Last release
- 4 years ago
- v4.0.2
- GitHub stars
- -
- Open issues / PRs
- - / -
- Contributors
- -
- Commits, last 52 weeks
- -
Downloads
Last week 2026-09-15 to 2026-09-21
56,636,002 downloads last week, 263,314,326 in the last month. The 12-month change of +353% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 057 in total
- Latest version
- 4.0.2, 24 Sept 20214 years ago
- First published
- 29 Mar 2014
- Last push to GitHub
- -
- Repository archived
- -
- Open issues
- -
- Open pull requests
- -
- Commits, last 52 weeks
- -
- Dependents on npm
- 2,748
Major versions
- v4 first release 4.0.0, 5 Jun 2021
- v3 first release 3.0.0, 18 Mar 2019
- v2 first release 2.0.0, 28 Jan 2018
- v1 first release 1.0.0, 24 Jun 2016
- v0 first release 0.0.0, 29 Mar 2014
Recent releases
| Version | Published |
|---|---|
| 4.0.2 | 24 Sept 2021 |
| 4.0.1 | 19 Sept 2021 |
| 4.0.0 | 5 Jun 2021 |
| 3.3.0 | 16 Apr 2021 |
| 3.2.4 | 29 Mar 2021 |
| 3.2.3 | 23 Sept 2020 |
| 3.2.2 | 23 Aug 2020 |
| 3.2.1 | 23 Nov 2019 |
| 3.2.0 | 24 Oct 2019 |
| 3.1.0 | 2 Sept 2019 |
| 3.0.1 | 31 Jul 2019 |
| 3.0.0 | 18 Mar 2019 |
| 2.2.2 | 28 Jan 2019 |
| 2.2.1 | 28 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)
- 170 kB
- Dependencies (5)
d3-timed3-arrayd3-formatd3-interpolated3-time-format
npm install d3-scaleCDN
jsDelivr: 3.8m requests in 30 days
- jsDelivr
https://cdn.jsdelivr.net/npm/d3-scale@4.0.2/ - unpkg
https://unpkg.com/d3-scale@4.0.2/ - esm.sh
https://esm.sh/d3-scale@4.0.2
Indexability: Not indexed (discovery only): GitHub data not fetched yet.