Skip to main content
Get Started
Documentation

Heatmap charts in Tractorscope

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 null
select
  latitude,
  longitude,
  revenue as magnitude
from orders
where latitude is not null
  and longitude is not null

Tips

  • Use heatmaps for large point sets.
  • Use markers or clusters when individual records need inspection.
  • Combine heatmaps with date or category filters.

Related docs