Skip to main content
100%

Organization Graph Diagram

✓ Published0🌍 Public
Cclarenceharre
Last edited Jan 27, 2022
Created on Jan 27, 2022
Forked from HTML Starter

This example presents a small directed organization graph with three nodes (Alice, Bob, Carol) connected by two links. The graph uses a force-directed layout computed by `d3.forceSimulation` with `forceManyBody`, `forceLink`, and `forceCenter`. As the simulation ticks, circle elements in the SVG render the node positions, updating their `cx` and `cy` attributes continuously. The data is hardcoded in the script, and the output is drawn using D3 v6’s SVG selectors.

AI-generated description
MIT Licensed

Similar vizzes