create_scatter_plot
Create a scatter plot to visualize the relationship between two numeric variables. Optionally add point labels, a trend line, and customize colors.
Instructions
Create a scatter plot.
Args: x_values: X data points y_values: Y data points labels: Optional point labels (for hover) title: Chart title xlabel: X-axis label ylabel: Y-axis label palette: Color palette: default, vibrant, pastel, monochrome regression_line: Show trend line output: 'svg' for inline SVG, 'png' for file path
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x_values | Yes | ||
| y_values | Yes | ||
| labels | No | ||
| title | No | Scatter Plot | |
| xlabel | No | ||
| ylabel | No | ||
| palette | No | default | |
| regression_line | No | ||
| output | No | svg |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |