Prototype of force Simulation
✓ Published1🌍 Public
JJacob Pingel Lauridsen
Last edited Feb 13, 2023
Created on Jan 24, 2023
Forked from Organization graph diagram - visualization
A force-directed graph represents a network of application and host nodes. The visualization uses D3’s `forceSimulation` with `forceManyBody` and `forceLink` to arrange nodes, with larger main nodes connected by longer links and smaller leaf nodes clustered nearby. Node colors come from a predefined palette, and each node’s size determines its radius. Users can drag nodes, which sets fixed positions and restarts the simulation. The example is built with React and renders to SVG, using D3 v6.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed