{"version":"1.0","type":"rich","title":"Fork of D3.js collapsible tree with boxes","description":"This example presents a collapsible tree diagram rendered as colored boxes, with each node displaying a label, version, and type. It uses D3.js v3 with the `d3.layout.tree` API and SVG elements to create an interactive hierarchy, where clicking a node expands or collapses its children. The tree is initialized from a JSON file that contains the node hierarchy, including link names and directions. The code includes features such as zooming and dragging through `d3.behavior.zoom`, and it dynamically adjusts the SVG dimensions based on the tree's depth and maximum width.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/ef1c8e7f3e504981af095039b75badb5?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}