Skip to main content
100%

Organization Graph Diagram

✓ Published3🌍 Public
JJacob Pingel Lauridsen
Last edited Feb 13, 2023
Created on Jan 17, 2023
Forked from HTML Starter

This example shows an organization graph diagram, where colored circles represent main entities, children, and leaf nodes, with connecting lines illustrating relationships between them. The graph uses a force-directed layout to position nodes based on simulated physical forces. Built with React and D3 v6, the implementation applies `forceSimulation` with `forceManyBody`, `forceLink`, and `forceCenter` to compute node positions. SVG circles, lines, and text are rendered and updated on each simulation tick, with drag interaction enabled via the `drag` API. The color palette is defined in a separate module using Paletton-generated schemes.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes