🌍 Public
Viewing a saved revision (read-only)
0b1a70e2eebc4717b6983484241fd22e
ICE8_Tree
This example shows a hierarchical tree of global cuisines and popular dishes, organized by region and category. It uses `d3.stratify` to convert flat parent-child data into a hierarchy, then `d3.tree` to compute the layout. The visualization renders links as vertical paths via `d3.linkVertical` and styles circular nodes with a color scale based on depth. All elements are drawn as SVG, with node size varying by hierarchy level. The data is embedded directly in the HTML as a static array.
AI-generated description