veltman
Using Path2D and setLineDash for better performance animating lots of lines on a <canvas> element.
Path2D
setLineDash
<canvas>
See also: Dynamic CSS line animation, Single path dasharray
https://d3js.org/d3.v4.min.js