Skip to main content
100%

Untitled

✓ Published0🌍 Public
MMariusPaulRichter
Last edited Mar 30, 2022
Created on Mar 29, 2022
Forked from HTML Starter

This chart shows a simple directed network of three people—Alice, Bob, and Carol—rendered as uniform circles linked by two directed edges in a force-directed layout. The simulation calculates their positions using the D3.js `forceSimulation` API, combining `forceManyBody`, `forceLink`, and `forceCenter` forces. As the simulation ticks, the circles’ `cx` and `cy` attributes update based on each node’s current `x` and `y` coordinates, creating a dynamic, physics-based arrangement within the SVG canvas.

AI-generated description
MIT Licensed

Similar vizzes