scatter_plot
Visualize data trends by creating scatter plots from SQL query results on CSV or Parquet sources. Use DuckDB SQL syntax to define queries and specify x, y, and optional color dimensions for detailed analysis.
Instructions
Run query against specified source and make a scatter plot using result For both csv and parquet sources, use DuckDB SQL syntax Use 'CSV' as the table name in the SQL query for csv sources. Use 'PARQUET' as the table name in the SQL query for parquet sources.
This will return an image of the plot
Input Schema
Name | Required | Description | Default |
---|---|---|---|
color | No | Optional; column name from SQL result to use for coloring the points, with color representing another dimension | |
query | Yes | SQL query to run on the data source | |
source_id | Yes | The data source to run the query on | |
x | Yes | Column name from SQL result to use for x-axis | |
y | Yes | Column name from SQL result to use for y-axis |