Map heatmaps show concentration and density across geographic areas.
When to use heatmaps
Use heatmaps when individual points matter less than overall concentration:
- Activity density
- User locations
- Event locations
- Incident hotspots
- Regional demand
SQL shape
Return latitude and longitude fields. Include a numeric magnitude when intensity should vary by value.
select
latitude,
longitude,
revenue as magnitude
from orders
where latitude is not null
and longitude is not nullselect
latitude,
longitude,
revenue as magnitude
from orders
where latitude is not null
and longitude is not nullTips
- Use heatmaps for large point sets.
- Use markers or clusters when individual records need inspection.
- Combine heatmaps with date or category filters.