Animating arrows along an arbitrary path. Basically a combination of Seamless animated dash and Animating along a path - tweens the stroke-dashoffset
on a loop and computes the translate/rotation of the arrowheads at the same time. Performance is not great, especially in Firefox...
See also: Directional arrows
https://d3js.org/d3.v4.min.js