Force Directed Graph Started
✓ Published1🌍 Public
This example shows a minimal force-directed graph with three nodes and two links, where Alice connects to Bob and Bob connects to Carol. The nodes render as circles and the links as lines on an SVG canvas. Built with D3.js v7, it uses `d3.forceSimulation` with `forceManyBody`, `forceLink`, and `forceCenter` to animate the graph. A tick event updates the circle and line positions based on simulation coordinates.
AI-generated descriptionMIT Licensed