Fork of Fork of Canvas Force Tutorial
✓ Published1🌍 Public
A force-directed network visualization renders a small social graph of named individuals from a CSV file, with nodes drawn as circles and links as lines on an HTML canvas. D3’s `forceSimulation` with `forceLink`, `forceManyBody`, and `forceCollide` drives the layout, while the `ticks` update the canvas via the `getContext('2d')` API. Node positions are centered using `forceX` and `forceY`, and edge weights from the data are parsed but not visually encoded.
AI-generated descriptionMIT Licensed