{"version":"1.0","type":"rich","title":"Collapsible Tree Hierarchy Reformatted","description":"This example presents an interactive collapsible tree visualization built with React and D3.js v6. Clicking a node re-roots the hierarchy to that node, toggling its children open or closed while animating transitions between states. The SVG rendering uses `d3.tree`, `d3.hierarchy`, and `transition.attrTween` to smoothly update node positions and link paths over 250-millisecond durations. A pop-up div displays the clicked node’s ID and name, positioned dynamically within the viewport.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/9e0418e68fd340ce8dad79ea1534b54f?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}