Skip to main content
100%

Fork of Relation Graph with d3-force

✓ Published0🌍 Public
VVictor Lorena
Last edited Mar 29, 2021
Created on Mar 29, 2021

This visualization shows the network of character co-appearances in Les Misérables as a force-directed graph, with nodes colored by group using d3.schemeCategory10 and links weighted by interaction frequency. The graph supports interactive dragging of individual nodes via d3.drag, and users can zoom and pan the entire view using d3.zoom with a scale range up to 8x. The simulation is computed with d3.forceSimulation, combining forceLink, forceManyBody, and forceCenter, while the SVG rendering updates node positions on each tick. Data is loaded asynchronously from a JSON file containing the Miserables dataset.

AI-generated description

Relation Graph with Grab and Zoom features implemented.

TODO:

Legends, Class of Links

Based on force-directed-graph. The data comes from Les Misérables.

MIT Licensed

Similar vizzes