d3-scale

Encodings that map abstract data to visual representation.

d3d3-modulescalevisualization

https://d3js.org/d3-scale/