Fork of D3 Starter
✓ Published0🌍 Public
A D3.js v7 force-directed graph visualizes six nodes with varying connection weights, rendered as black circles on a blank page. The example uses `d3.forceSimulation` to compute node positions, applying a many-body charge force and centering the graph at 300×300 pixels. Node coordinates update continuously via the simulation’s tick event, with each circle’s `cx` and `cy` attributes set directly from the node data. The minimal setup demonstrates a basic starter template for network layouts, with all styling handled through inline CSS.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed