π Public
Viewing a saved revision (read-only)
2bbfd02c8ae24b89bea0aa8c3c6a8587
Untitled
This example demonstrates an interactive, zoomable tree diagram built with D3.js, presenting hierarchical data from a JSON file. Users can pan and zoom the tree, as well as drag and drop nodes to rearrange them, with animations using `d3.layout.tree` and `d3.svg.diagonal`. The code includes custom panning logic and a zoom listener with scale constraints, rendering the visualization as SVG elements with linked paths and draggable node circles.
AI-generated descriptionAn example showing the capabilities of VizHub.