d3.piecewise(values)?
mbostock opened this issue · comments
Mike Bostock commented
If no interpolator is specified, it could default to d3.interpolate.
Interpolate numbers, colors, strings, arrays, objects, whatever!
mbostock opened this issue · comments
If no interpolator is specified, it could default to d3.interpolate.