d3-interpolate-path

Code on GitHub