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.
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 |