create_serbia_map
Generate a color-coded choropleth map of Serbia's 25 administrative districts from tabular data. Specify district names, values, and customize title, theme, and color scale.
Instructions
Choropleth map of Serbia by 25 administrative districts. Color-coded by metric.
District names in Natural Earth format (English transliteration). Cyrillic and city shorthand also supported (e.g., 'Niš', 'Novi Sad'). Use list_serbia_districts() to see all recognized names.
Returns: {filepath, districts_matched, total_districts, title}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Row dicts with district names and values | |
| theme | No | 'dark', 'light', 'infographic' | dark |
| title | No | Map title | |
| filename | No | Output filename (without .html) | serbia_map |
| colorscale | No | 'red', 'blue', 'diverging', 'heat' (default: blue) | |
| name_column | Yes | District names column | |
| value_column | Yes | Numeric values to color by |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||