🌍 Public
Viewing a saved revision (read-only)
465adace859b432eaf6a998d60d068b4
seekwhens Starter
A basic force-directed graph renders three named nodes (Alice, Bob, Carol) linked in a chain, with positions computed by d3.forceSimulation using forceManyBody and forceLink forces, centered via forceCenter. The SVG circles and lines are bound to the data and updated on each simulation tick to reflect node x/y coordinates. The example demonstrates the minimal setup for a D3 v7 network visualization with a static dataset.
AI-generated description