Fork of D3 Starter
✓ Published0🌍 Public
This example demonstrates a basic three-node force-directed graph simulation using D3's newer `forceSimulation` API. It renders three circles (Alice, Bob, Carol) connected by two links as SVG elements, with the layout driven by `forceManyBody` for repulsion, `forceLink` for spring-like connections, and `forceCenter` to keep the graph anchored at the SVG center. The simulation updates node and line positions on each tick event, showing a minimal starter template for physics-based network visualizations.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed