🌍 Public
Viewing a saved revision (read-only)
f9538e84c86a491bae1acb9d254e8de8
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