Skip to main content
100%

Bipartite Larger Community Graph

✓ Published0🌍 Public
ZZoeLeBlanc
Last edited May 31, 2018
Created on May 31, 2018

A bipartite force-directed graph displays two groups of nodes—people and topics—connected by links, with nodes colored by community. The graph uses D3 v4’s `d3.forceSimulation` with link, charge, and centering forces, and renders SVG circles and text labels within grouped nodes. The code loads data from a JSON file and supports dragging interaction to reposition nodes.

AI-generated description

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 <a href='http://bl.ocks.org/heybignick/'>heybignick</a>'s block: <a href='http://bl.ocks.org/heybignick/3faf257bbbbc7743bb72310d03b86ee8'>D3.js v4 Force Directed Graph with Labels</a>

forked from <a href='http://bl.ocks.org/ZoeLeBlanc/'>ZoeLeBlanc</a>'s block: <a href='http://bl.ocks.org/ZoeLeBlanc/25dffd0935ab26bf3235b8226c32a8bc'>Bipartite Graph</a>

forked from <a href='http://bl.ocks.org/ZoeLeBlanc/'>ZoeLeBlanc</a>'s block: <a href='http://bl.ocks.org/ZoeLeBlanc/80631e045340d4dc26995227c5a5fc85'>Bipartite Community Graph</a>

gpl-3.0 Licensed

Similar vizzes