Force Directed Graph Starter
✓ Published1🌍 Public
Three circles representing Alice, Bob, and Carol form a small network with two directed links. The visualization shows a basic force-directed layout where nodes repel each other, links act as springs, and a centering force keeps the graph anchored mid-canvas. The positions update continuously during the simulation ticks. Built with D3 v7, the example uses `d3.forceSimulation`, `d3.forceManyBody`, `d3.forceLink`, and `d3.forceCenter` on an SVG canvas, rendering nodes as circles and links as lines with coordinates from the simulation state.
AI-generated descriptionMIT Licensed