generate_chart
Render a chart to a hosted image; returns a URL to embed in markdown as . Types: bar (grouped vertical), horizontal_bar (best for long category names or ranked lists), stacked_bar (part-to-whole across categories), line / area (trend over an ordered axis), pie / doughnut (share-of-total of ONE series).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Pick the type that best fits the data. | |
| title | Yes | ||
| labels | Yes | Category labels (x axis; slice labels for pie/doughnut). | |
| series | Yes | One or more series; each values array aligns with labels. pie/doughnut use the first series only. | |
| valueSuffix | No | e.g. '%' or null. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No |