superset_chart_create
Create a new Superset chart by specifying its name, dataset, visualization type, and parameters. Returns the created chart details, including its ID.
Instructions
Create a new chart in Superset
Makes a request to the /api/v1/chart/ POST endpoint to create a new visualization.
Args: slice_name: Name/title of the chart datasource_id: ID of the dataset or SQL table datasource_type: Type of datasource ('table' for datasets, 'query' for SQL) viz_type: Visualization type (e.g., 'bar', 'line', 'pie', 'big_number', etc.) params: Visualization parameters including metrics, groupby, time_range, etc.
Returns: A dictionary with the created chart information including its ID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes | ||
| viz_type | Yes | ||
| slice_name | Yes | ||
| datasource_id | Yes | ||
| datasource_type | Yes |