All examples By author By category About

mbostock

Prim’s Algorithm IV

Color-cycling applied to a spanning tree generated by Prim’s algorithm. This version rotates hue; see what happens when you vary periodicity instead.