Skip to main content
100%

TP 6 DataViz

✓ Published0🌍 Public
RRomyRatolojanahary
Last edited Dec 18, 2016
Created on Dec 18, 2016

This D3.js v4 force-directed graph visualizes character co-appearances in *Les Misérables*, using a JSON dataset of nodes and weighted links. The simulation uses `d3.forceSimulation` with `d3.forceLink`, `d3.forceManyBody`, and `d3.forceCenter` to position nodes, while `d3.drag` lets users rearrange them. Nodes are colored by group via `d3.scaleOrdinal`, with link thickness scaled by connection value. The SVG rendering updates each tick, and dragging restarts the simulation with a higher alpha target.

AI-generated description

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/nbonneel/'>nbonneel</a>'s block: <a href='http://bl.ocks.org/nbonneel/91f6d433810029851e170ba668436340'>TP 6 DataViz</a>

mit Licensed

Similar vizzes