🌍 Public
Viewing a saved revision (read-only)
615041bc693547c38b1232a726ef5cf9
Untitled
This example shows a force-directed graph of interconnected nodes, where each node is a small circular glyph and links are drawn as thin, slightly curved lines. The graph uses an offline dataset stored as an array and relies on `d3.forceSimulation` with `d3.forceLink`, `d3.forceManyBody`, and `d3.forceCenter` to compute layout, while `d3.drag` enables user interaction. The visualization is rendered to a Canvas 2D context, with each frame clearing and redrawing positions from the simulation’s tick events. Node colors and sizes are static, and the code does not include labels or tooltips.
AI-generated description