🌍 Public
Viewing a saved revision (read-only)
7c9e0a63c8234fe49a5a2c95da3024d7
Untitled
This example demonstrates a React-based data visualization built with D3.js, showing an interactive force-directed graph. The code employs `d3.forceSimulation` to position nodes and links, with forces for charge, collision, and centering, while rendering the network through SVG elements. It visualizes hierarchical data using a cluster layout, with nodes colored and sized according to their depth and connection counts. The visualization updates dynamically as the simulation runs, with drag interactions enabled via `d3.drag`, allowing users to move nodes and observe the spring-like link forces in real time.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.