Chart
chartDraw a PNG of Spanish place data—opportunity rankings, income by district, age pyramids, or population trends—and return the image, text, and sources.
Instructions
Draw a chart (PNG) of a tool result: an opportunity ranking with ranges, income by district, an age pyramid or a population trend. Returns the image, the same text and sources as the underlying tool, and a source line on the image. If drawing fails the text still comes back.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | 'opportunity' (needs category; ranks areas within the place), 'income' (by district or tract), 'age_pyramid' or 'population_trend'. | |
| place | Yes | Place name or INE code: municipality ('Valladolid' or '47186'), province ('41'; a bare name like 'Sevilla' means the city), autonomous community ('Cataluña' or 'CA09'), district ('4718603') or census tract ('4718603012'). 'Name, Province' picks between same-named towns. | |
| category | No | Business category, for kind 'opportunity'. | |
| sub_areas | No | For 'income': districts or tracts. | district |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| checks | No | ||
| sources | Yes | ||
| confidence | Yes | Lowest confidence across inputs: high, medium or low. Never state a conclusion more strongly than this. |