data_visualization_generator
Generate Vega-Lite chart specifications for scatter, line, bar, histogram, box, heatmap, pie, violin, and correlation plots from data arrays. Returns a markdown report with data count and usage guidance.
Instructions
Generate a chart specification (Vega-Lite) plus rendering instructions for a dataset — it describes a chart, it does not render an image. Supports scatter, line, bar, histogram, box, heatmap, pie, violin, and correlation plots. Returns a markdown report with the data-point count, the spec, and usage guidance.
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>",
"visualizationType": "<visualizationType>",
"variables": "<variables>"
},
"name": "data_visualization_generator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Array of data objects to visualize | |
| title | No | Optional title for the visualization | |
| options | No | Additional visualization options | |
| variables | Yes | Variable names to include in the visualization (properties in data objects) | |
| includeTrendline | No | Include a trendline (for scatter plots) | |
| visualizationType | Yes | Type of visualization to generate |