Organization Graph Diagram
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.