🌍 Public
Viewing a saved revision (read-only)
080dbdf60cb7492ca76ad70924819d2c
Fork of Force Directed Graph Starter
This fork of the D3 force-directed graph starter visualizes a small network of three nodes (Alice, Bob, Carol) connected by two directed links. The example uses D3’s `forceSimulation` with `forceManyBody`, `forceLink`, and `forceCenter` forces to position the nodes dynamically. As the simulation ticks, the SVG circles and lines update their coordinates via the `simulation.on('tick')` callback. The rendering is done with SVG elements, drawing black lines for links and circles for nodes, all contained in a 960×500 pixel canvas.
AI-generated description