create_chart
Generate visual charts from datasets by specifying visualization type, data source, and parameters for Apache Superset dashboards.
Instructions
Create a new chart.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slice_name | Yes | Chart name | |
| viz_type | Yes | Visualization type (e.g. 'bar', 'line', 'pie', 'table', 'big_number_total') | |
| datasource_id | Yes | ID of the dataset to use | |
| datasource_type | No | 'table' for datasets (default) | table |
| params | No | JSON string of chart parameters/query context | {} |
| description | No | Optional chart description | |
| dashboards | No | List of dashboard IDs to add the chart to |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||