block by timelyportfolio 5049980

Adaptation of Mike Bostock's Force-Directed Graph of Les Mis Characters using .csv dataset instead of json

Full Screen

##Fork of Mike Bostock’s original force-directed example. This fork uses an ugly csv which unfortunately is just a fact of life in my world. JSON is highly recommended unless it is unavailable.

##Original readme.md is below and does a very nice job of explaining the graph.

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.

index.html

les_mis.csv

miserables.json