block by alexmacy acaa66956dd3325864091303d77e0d75

Force-Directed Graph with hidden Voronoi

Full Screen

This is another version of this block: Force-Directed Voronoi Graph, but with the polygons hidden. This is an experiment in making it easier to drag the nodes. Clicking anywhere selects the closest node instead of having to click directly on the node.


From the previous block:

This is a fork of mbostock‘s block: Force-Directed Graph where I’ve added a voronoi overlay. This could have a practical use by not having to click directly on a node in order select it and drag it.


From the original block:

This simple force-directed graph shows character co-occurence in Les Misérables. A physical simulation of charged particles and springs places related characters in closer proximity, while unrelated characters are farther apart. Layout algorithm inspired by Tim Dwyer and Thomas Jakobsen. Data based on character coappearence in Victor Hugo’s Les Misérables, compiled by Donald Knuth.

Compare this display to a force layout with curved links, a force layout with fisheye distortion and a matrix diagram.

index.html

miserables.json