Fork of Force Directed Graph Starter
✓ Published0🌍 Public
This example visualizes a small, three-node force-directed graph with Alice, Bob, and Carol, using black lines for links and circles for nodes. The positions of the nodes and links are updated on each simulation tick. The code uses d3.forceSimulation with forceManyBody, forceLink, and forceCenter forces to drive the layout, rendering to an SVG canvas with d3.select, while data is imported from a separate data.js file.
AI-generated descriptionMIT Licensed