Examples
Basic Heatmap
Weighted Heatmap
Custom Color Palette
Adjusted Radius and Intensity
Attributes
Name of the table to query
Array of filter IDs to apply
Column name for latitude values
Column name for longitude values
Column or expression for weighting points in the heatmap (e.g., “sum(sales)”). Higher values create more intense heat
Base radius of influence for each point in pixels (adjusts with zoom)
Intensity multiplier for the heatmap. Higher values create more pronounced heat
Opacity of the heatmap layer (0-1)
Array of colors for the heatmap gradient, from lowest to highest density. Defaults to theme color scale
Zoom range [min, max] where this layer is visible (e.g., [0, 8] shows layer from zoom 0 to 8)
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. Note: When used with tables, limit will disable subtotals to prevent incomplete subtotal rows.
Column name(s) with optional direction (e.g. “column_name”, “column_name desc”)
Custom SQL QUALIFY condition to filter windowed results

