{"version":"1.0","type":"rich","title":"Assignment_8_sowjanya_tree","description":"This hierarchical tree visualization displays a food-category dataset from a CSV file, organized by root, category, sub-category, and item layers. It uses `d3.stratify()` to build the hierarchy from flat \"id,parent\" data, then `d3.tree()` to compute the tidy layout. Nodes use distinct shapes and pastel colors per depth, with `d3.symbol()` generating circles, squares, diamonds, and triangles. The code renders links as horizontal paths, provides an interactive tooltip, and includes a legend. The visualization is rendered as an SVG canvas using D3 v7.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/356b72b478cc437e9f8b013e251d24fd?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}