create_lollipop_chart
Create ranked lollipop charts to compare numeric values across categories, with optional highlighting of a specific entity for clear top-N lists or budget comparisons.
Instructions
Lollipop chart — dots on stems for clean ranking. Can highlight one entity.
Ideal for: district population ranking, budget by ministry, top-N lists.
Returns: {filepath, title, rows}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Row dicts | |
| theme | No | Visual theme | dark |
| title | No | Chart title | |
| filename | No | Output filename | lollipop_chart |
| label_column | Yes | Category labels | |
| value_column | Yes | Numeric values to rank by | |
| highlight_value | No | Value to highlight (e.g., 'Grad Beograd') | |
| highlight_column | No | Column to match for highlighting |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||