{"version":"1.0","type":"rich","title":"Treemap","description":"A treemap recursively subdivides a rectangle into smaller areas, where each node’s size corresponds to its value. This example encodes Flare visualization toolkit packages by color, using a squarified layout. The D3 v4 code loads hierarchical JSON data, applies `d3.hierarchy` with `.sum()`, and renders SVG rectangles and text with clip paths. A radio button toggles between size-based and count-based sums, triggering animated transitions via `cell.transition()` over 750 milliseconds.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-6295da517c2ae4a0ef2e300de3b336f7?mode=embed\" width=\"960\" height=\"600\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":600,"cache_age":3600}