Treemap
render_treemap_chartVisualizes hierarchical data as nested rectangles sized by value to show proportional sizes, such as budget breakdowns or disk usage, with optional grouping for categories like region or sector.
Instructions
Render a treemap - 'What takes up the most space?' Nested rectangles sized by value. Supports optional grouping for hierarchical data (e.g. region > country). Great for budget breakdowns, disk usage, portfolio allocation.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"title": "<title>",
"data": "<data>"
},
"name": "render_treemap_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Array of items to display | |
| theme | No | Theme preset: boardroom, corporate, sales-floor, golden-treasury, clinical, startup, ops-control, tokyo-midnight, zen-garden, consultant, black-tron, black-elegance, black-matrix, forest-amber, forest-earth, sky-light, sky-ocean, sky-twilight, gray-hf, gray-copilot, office-red | |
| title | Yes | Chart title | |
| effects | No | Override effects: none, subtle, shimmer, neon, energetic | |
| options | No | ||
| palette | No | Override palette only (mix-and-match) | |
| typography | No | Override typography: professional, luxury, cyberpunk, editorial, mono, bold, system, techno |