Create Chart Image
chart.visualization.createGenerate a permanent image URL of a data chart (bar, line, pie, doughnut, radar, scatter) by providing chart type, labels, and datasets. Ideal for visualizing any dataset when combined with data tools.
Instructions
⚡ ACTION: Generate a chart image (PNG) from data — bar, line, pie, doughnut, radar, scatter. Returns a permanent image URL. Combine with data tools (climate.co2, census.population, finance.exchange_rates) to visualize any dataset. Powered by QuickChart (Chart.js).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Chart type: bar, line, pie, doughnut, radar, scatter, horizontalBar | |
| labels | Yes | X-axis labels (e.g. ["Q1", "Q2", "Q3", "Q4"]) | |
| datasets | Yes | One or more datasets to plot | |
| title | No | Chart title displayed at top | |
| width | No | Image width in pixels (100-1000, default 500) | |
| height | No | Image height in pixels (100-1000, default 300) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. | |
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. |