This example uses point-along-path interpolation, but also changes the rotation of the moving element depending on its place on the path.
forked from bycoffe's block: Element rotation with point-along-path interpolation
https://d3js.org/d3.v3.min.js