Relation Graph with d3-force
✓ Published4🌍 Public
This interactive relation graph visualizes the character co-occurrence network from Victor Hugo's *Les Misérables*. Using `forceSimulation` from the `d3-force` library alongside the standard d3.v6 API, it maps characters to circles and their interactions to weighted lines. The SVG rendering supports both node dragging via the `drag` behavior and view zooming controlled through the `zoom` extension, which applies transforms to the network elements. Nodes are colored by their group assignment using the `schemeCategory10` palette.
AI-generated descriptionRelation 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