Examples
US Counties with Formatting
Custom Colors
Attributes
Title to display above the map
Subtitle to display below the title
Information tooltip text (can only be used with title)
URL to link the info text to (can only be used with info)
Create a custom link title for the info link, placed after the info text (can only be used with info_link)
Height of the map in pixels
Initial zoom level (0-22, where higher is more zoomed in)
Allow users to zoom in/out on the map
Allow users to pan/drag the map
Base map style: “mono” for monochrome basemap, “blank” for solid background onlyAllowed values:
monoblank
Map projection: “globe” for 3D globe view, “flat” for 2D flat mapAllowed values:
globeflat
Show legends for map layers
Location of the legend within the mapAllowed values:
top_lefttop_rightbottom_leftbottom_right
Set the width of this component (in percent) relative to the page width
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)
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

