Skip to content
JS
Package

d3-scale

Encodings that map abstract data to visual representation.

v4.0.2, 24 Sept 2021ISCESM onlyTypes: NoneCharts and data visualisation
$ npm install d3-scale

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
020m40m60m80mSept 2025Mar 2026Sept 2026High 76.5m (18 Aug 2026)Low 9.7m (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.

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

  1. v4 first release 4.0.0, 5 Jun 2021
  2. v3 first release 3.0.0, 18 Mar 2019
  3. v2 first release 2.0.0, 28 Jan 2018
  4. v1 first release 1.0.0, 24 Jun 2016
  5. v0 first release 0.0.0, 29 Mar 2014

Recent releases

VersionPublished
4.0.224 Sept 2021
4.0.119 Sept 2021
4.0.05 Jun 2021
3.3.016 Apr 2021
3.2.429 Mar 2021
3.2.323 Sept 2020
3.2.223 Aug 2020
3.2.123 Nov 2019
3.2.024 Oct 2019
3.1.02 Sept 2019
3.0.131 Jul 2019
3.0.018 Mar 2019
2.2.228 Jan 2019
2.2.128 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-scale

CDN

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

Indexability: Not indexed (discovery only): GitHub data not fetched yet.