{"version":"1.0","type":"rich","title":"Fork of array to tree","description":"This example converts a shuffled array of integers into a hierarchical tree structure. Using D3 v6’s `d3.stratify` and `d3.tree` layouts, it maps array indices to parent-child relationships and renders nodes as red-bordered circles connected by black paths. Text labels display each node’s value, with transitions animating their appearance based on tree depth. The visualization updates dynamically by re-rendering with a new random array, demonstrating data binding and enter/update/exit patterns in an SVG.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c66dad77cdb14e7dae62ed71e27d9b69?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}