package
Encodings that map abstract data to visual representation.
npm install d3-scaleGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Scales map a dimension of abstract data to a visual representation. Although most often used for encoding data as position, say to map time and temperature to a horizontal and vertical position in a scatterplot, scales can represent virtually any visual encoding, such as color, stroke width, or symbol size. Scales can also be used with virtually any type of data, such as named categorical data or discrete data that requires sensible breaks.
Latest published Nov 3, 2026
latest
recifs
fil@rezo.net
Estimated unpacked size across 8 packages.
483.2 kB
Includes dependencies.
5 direct · 5 outdated
2.1.1 - 3
3.1.1
2.10.0 - 3
3.2.5
1 - 3
3.1.3
1.2.0 - 3
3.0.2
2 - 4
4.1.1