May 2019
Beginner to intermediate
650 pages
14h 50m
English
A diverging scale is a sequential interpolated scale for symmetric domains. It is usually configured with a three-value segmented domain, where the central value represents the neutral value; the first is the extreme, and the last value is the extreme positive. The interpolator is called with a value in the range [0,1], where 0.5 represents the neutral value.
The following scale generators create diverging scale functions:
|
Generator function |
Domain (input) |
Description |
|
d3.scaleDiverging |
Continuous Default: [0, 0.5, 1] |
Diverging scale that performs linear interpolation. |
|
d3.scaleDivergingPow |
Continuous Default: [0, 0.5, 1] |
Diverging scale with exponential interpolation. The exponent(k) method can be used ... |
Read now
Unlock full access