block by chule b403ce5b740d88626fbd5df65c8abd81

D3.js v4 Force Directed Graph with Labels

Full Screen

A quick adaptation of Mike Bostock’s force-directed graph showing character co-occurence in Les Misérables. In this version, the character names are displayed. This is accomplished by wrapping both circles and text svg components within a group svg component.

Compare to the original diagram by Mike Bostock.

index.html

miserables.json