mbostock
Color-cycling applied to a spanning tree generated by Prim’s algorithm. This version rotates hue; see what happens when you vary periodicity instead.
https://d3js.org/d3.v3.min.js