Skip to main content
100%

Weighted nodes and curved links v4

✓ Published0🌍 Public
BBTKY
Last edited Sep 23, 2017
Created on Sep 23, 2017

This force-directed graph visualizes word co-occurrence in a dataset of government, military, gender, media, trade, and science terms. Node size reflects word frequency, and links connect co-occurring words. The graph uses `d3.forceSimulation` with `d3.forceLink`, `d3.forceManyBody`, and `d3.forceCollide` forces to position related words closer together. Nodes are rendered as circles with labels, and curves are drawn as SVG paths. The data is a JSON file based on word co-occurrence, not the original Les Misérables character data.

AI-generated description

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.

forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/4062045'>Force-Directed Graph</a>

forked from <a href='http://bl.ocks.org/riyazshaikh/'>riyazshaikh</a>'s block: <a href='http://bl.ocks.org/riyazshaikh/2a2ad9a6eed7f21c66b10f11155d9bac'>Force-Directed Graph</a>

forked from <a href='http://bl.ocks.org/donpinkus/'>donpinkus</a>'s block: <a href='http://bl.ocks.org/donpinkus/f02531d86e3d8028d5216f9c72d40e1d'>Weighted nodes and curved links v4</a>

gpl-3.0 Licensed

Similar vizzes