All examples By author By category About

the-winter

D3.js v4 Force Directed Graph with Labels

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.

forked from heybignick's block: D3.js v4 Force Directed Graph with Labels