d3-interpolate

Interpolate numbers, colors, strings, arrays, objects, whatever!

d3d3-moduleinterpolateinterpolationcolor

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