Examples
US Counties Geography
Custom GeoJSON
Attributes
Name of the table to query
Array of filter IDs to apply
Pre-provided geography (use this OR geojson_url + geojson_id)Allowed values:
us_statesus_counties
URL to custom GeoJSON file (required if geography not provided)
Property name in GeoJSON features to join on (e.g., “NAME” or “GEOID”)
Column name in data that matches geo_id (e.g., “state_id”)
Column or expression for coloring the choropleth (e.g., “sum(sales)”)
color_palette
Array of colors for the choropleth gradient
Whether to show areas that do not have matching data
Show tooltips on hover
GeoJSON property to use for area name in tooltip (defaults to “NAME”)
Format for values in tooltip
zoom_threshold
Zoom range [min, max] where this layer is visible (e.g., [0, 8] shows layer from zoom 0 to 8)
Show legend for this layer
Custom label for the legend (defaults to table name)
Custom SQL WHERE condition to apply to the query. For date filters, use date_range instead.
Custom SQL HAVING condition to apply to the query after GROUP BY
Maximum number of rows to return from the query
Column name(s) with optional direction (e.g. “column_name”, “column_name desc”)
Custom SQL QUALIFY condition to filter windowed results

