create_waffle_chart
Visualize proportional data as an icon grid showing 'X out of 100' proportions. Use for budget shares, demographic breakdowns, or any part-to-whole comparisons.
Instructions
Waffle chart (icon grid) for proportional data. 'X out of 100' visualization.
More intuitive than pie charts for showing proportions.
Ideal for: '1 in 4 Serbs live in Belgrade', budget share, sector breakdown.
Returns: {filepath, title, categories}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Row dicts | |
| theme | No | Visual theme | dark |
| title | No | Chart title | |
| filename | No | Output filename | waffle_chart |
| total_icons | No | Total icons in grid (100=10×10) | |
| names_column | Yes | Category labels | |
| values_column | Yes | Numeric values (normalized to fill grid) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||