generate_scatter_plot
Create a scatter plot to visualize the correlation between two numeric columns. Use it when summary statistics reveal a notable relationship worth confirming.
Instructions
Generate a scatter plot comparing two numeric columns.
Best used when get_summary_statistics reveals a notable correlation
between two columns worth visualising.
Args:
dataset: Name of the dataset.
x_column: Numeric column for the X axis.
y_column: Numeric column for the Y axis.
title: Chart title.
color_by: Optional categorical column to colour points by group.
filename: Output filename (auto-generated if empty).
Returns:
A JSON str with {"chart_path":"...","chart_data":"..."}.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"dataset": "<dataset>",
"x_column": "<x_column>",
"y_column": "<y_column>",
"title": "<title>"
},
"name": "generate_scatter_plot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| dataset | Yes | ||
| color_by | No | ||
| filename | No | ||
| x_column | Yes | ||
| y_column | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |