{"version":"1.0","type":"rich","title":"Fork of HTML Starter","description":"This example demonstrates how to traverse and render a hierarchical tree structure using D3.js’s `d3.hierarchy` API. It visualizes nested data objects as a series of stacked, blue-bordered `div` elements, where each level of nesting corresponds to a deeper layer of the tree. The code builds the hierarchy from a static raw JavaScript object, then uses `d3.select` and `.append()` to create the DOM nodes, with each element’s text set to the node’s name. The console logs the depth and name of each visited node, illustrating the traversal order.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/23ac6c54f19a4febac44d30578210b96?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}