d4_scale 0.1.1 d4_scale: ^0.1.1 copied to clipboard
Encodings that map abstract data to visual representation.
d4_scale
Encodings that map abstract data to visual representation.
Documentation
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.
See one of:
- Linear scales - for quantitative data
- Time scales - for time-series data
- Pow scales - for quantitative data (that has a wide range)
- Log scales - for quantitative data (that has a wide range)
- Symlog scales - for quantitative data (that has a wide range)
- Ordinal scales - for categorical or ordinal data
- Band scales - for categorical or ordinal data as a position encoding
- Point scales - for categorical or ordinal data as a position encoding
- Sequential scales - for quantitative data as a sequential color encoding
- Diverging scales - for quantitative data as a diverging color encoding
- Quantile scales - for quantitative data as a discrete encoding
- Quantize scales - for quantitative data as a discrete encoding
- Threshold scales - for quantitative data as a discrete encoding