{"version":"1.0","type":"rich","title":"Marks & Channels Graphic","description":"This example reproduces a treemap visualization from the Marks & Channels Graphic in Chapter 5. It uses d3.hierarchy and d3.treemap with a slice-dice tiling to layout nested data from a custom JSON file, coloring each leaf as a simple rectangle. The SVG rendering assigns each leaf a `<g>` group and a `<rect>`, sized proportionally to its data value. The code references D3 v4 and Curran’s treemap example as its basis.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/0cb12755faf0441abc86399b8341669c?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}