generate_scatter_chart
Generate a scatter chart to visualize the relationship between two variables, identifying correlations and data distribution patterns.
Instructions
Generate a scatter chart to show the relationship between two variables, helps discover their relationship or trends, such as, the strength of correlation, data distribution patterns.
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": {
"data": "<data>"
},
"name": "generate_scatter_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Data for scatter chart, such as, [{ x: 10, y: 15 }]. | |
| theme | No | Set the theme for the chart, optional, default is 'default'. | default |
| width | No | Set the width of chart, default is 600. | |
| height | No | Set the height of chart, default is 400. | |
| title | No | Set the title of chart. | |
| axisXTitle | No | Set the x-axis title of chart. | |
| axisYTitle | No | Set the y-axis title of chart. |