π Public
Viewing a saved revision (read-only)
002dffcedafa40f7b2db734b9b27a6fa
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.