histogram
Visualize data distribution by creating histograms from SQL queries on CSV or Parquet sources. Specify a column, optional color dimension, and bin count to generate actionable insights for analytics on Zaturn.
Instructions
Run query against specified source and make a histogram 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 drawing multiple colored histograms representing another dimension | |
column | Yes | Column name from SQL result to use for the histogram | |
nbins | No | Optional; number of bins | |
query | Yes | SQL query to run on the data source | |
source_id | Yes | The data source to run the query on |