🌍 Public
Viewing a saved revision (read-only)
730b0e11b13a4f6e94613ec6317cf91d
Untitled
This example visualizes the hierarchical structure of a dataset from `data.json` as a radial tree. The layout is computed using a force-directed simulation via D3’s `d3.forceSimulation` API, which positions nodes based on repulsion and attraction forces. The root node is highlighted, and hover interactions reveal child node details and highlight the direct ancestry path, while non-related nodes are dimmed. The visualization is rendered using D3’s SVG-based `d3.geoPath` for the curved links, with the entire graph adapting to window resizing.
AI-generated description