Force Directed Graph Starter
✓ Published1🌍 Public
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 descriptionMIT Licensed