Skip to main content
100%

Fork of Force-Directed Graph

✓ Published1🌍 Public
KKhanin Sisaengsuwanchai
Last edited Jun 8, 2023
Created on Jun 1, 2023

This is an interactive force-directed graph that visualizes the network of characters from *Les Misérables*, based on the classic `miserables.json` dataset. Nodes are colored by their assigned group and can be dragged around the canvas, triggering the physics simulation to recalculate positions. Implemented with D3.js functions `forceSimulation`, `forceLink`, `forceManyBody`, `forceCenter`, and `drag`, the graph also supports zooming and panning via a `d3Zoom` handler, while node labels appear on hover. The SVG rendering displays nodes and links in full-screen, with node positions updated on each simulation tick.

AI-generated description
MIT Licensed

Similar vizzes