🌍 Public
Viewing a saved revision (read-only)
02ca473a2a8247be96bc184e61757a15
Force Directed Graph Starter
A force-directed graph renders three named nodes (Alice, Bob, Carol) as circles and two links as lines in an SVG container. The simulation uses `d3.forceSimulation` with `forceManyBody`, `forceLink`, and `forceCenter` to position the nodes. On each tick, circle and line positions update via the simulation's event handler, showing how D3 applies physical forces to a small static dataset.
AI-generated description