Man seated at a desk viewing colorful charts on a desktop monitor.

Basics: What Is a Heat Map? Why the Legend Matters

What is a heat map? A heat map uses color to represent numerical values: in a grid of store orders, one dark Wednesday cell can reveal a rush that disappears in a page of figures. Each colored cell or area ties a measurement to a position, whether that is a calendar day, a geographic location, or a webpage button.

That dark patch is a starting point. Reading it means connecting its position to its value, then asking what produced the difference.

In This Article

Read the Axes and Legend First

Suppose a store manager sees a dark cell labeled “Sales” and schedules extra packing staff, assuming it means more orders. If the unit is dollars, one expensive purchase could explain the patch. The missing unit has turned revenue into an imaginary workload.

Rows and columns tell you where to look; the legend tells you what you found. Check its endpoints and direction: darker or brighter can mean higher, depending on the scale. Check whether colors change continuously or in bands, too. In a band labeled “50–99,” a store with 50 visitors looks identical to one with 99. Almost twice the traffic. Exactly the same color.

Recognize the Main Types

A matrix compares values at row-column intersections, such as support requests by weekday and hour. Geographic heat maps estimate a density surface from point data. Choropleth maps instead color predefined geographic areas by their values; they are a related visualization, not the same geographic method.

Website maps record behavior. One revealing case is a click hotspot on something that does nothing: in an imagined shop page, visitors repeatedly click a product photograph expecting it to open. The patch could prompt a design fix, not a celebration of engagement. Scroll and pointer maps answer different questions, as the table shows.

Heat map type or related mapWhat color measuresBest forMain advantageKey limitation
Matrix heat mapCell value, such as monthly revenue ($) by productProducts across monthsShows highs and lows across two categoriesExact values need labels or tooltips
Correlation heat mapPairwise correlation coefficient; Pearson r ranges from −1 to +1, with 0 at the midpointLinear relationships among numeric variablesSummarizes variable pairsCorrelation does not establish causation
Geographic density heat mapPoint concentration or weighted density within a chosen radiusClusters of incidents, stores, or tripsShows hotspots without administrative boundariesRadius or bandwidth changes hotspot size and intensity
Choropleth map (related map, not a geographic heat map)Regional value, such as residents per km²Rates across counties, states, or countriesUses meaningful boundariesLarge regions dominate; local differences disappear
Website click heat mapRecorded click count or share by page locationPopular links and noninteractive elementsShows attempted interactionsClicks can mean interest or frustration
Website scroll heat mapPercentage of recorded visits reaching each depthContent or calls to actionShows declining exposure down a pageReaching content does not prove reading
Website pointer-movement heat mapRecorded cursor positions or movement densityDesktop mouse-use patternsShows activity beyond clicksNot eye tracking; touch-only visits lack mouse-hover paths, but finger movement can be tracked

Choose Colors That Match the Values

For order counts, a sequential palette such as light-to-dark blue communicates increasing amounts. For gains and losses around zero, use a diverging palette with contrasting ends and a neutral midpoint. That midpoint carries meaning; it is not decoration.

Color can also smuggle in a judgment. Consider a hypothetical executive review where red marks the highest revenue, but a director reads it as a warning and cuts stock at the busiest store. Red-green confusion adds another risk for readers who cannot readily distinguish those hues. Use clear lightness differences and explain whether a color means high, low, favorable, or unfavorable. In a temperature chart, red may simply mean warmer. Keep cell values visible. Shades are not numbers.

Arrange Your Data Before Mapping It

Keep one measure and consistent units in a matrix: revenue in dollars and conversion rates do not belong on the same unadjusted scale. Preserve calendar order for months; for unordered categories, choose the arrangement that serves your comparison.

Data arrangementBest forProsCons
Chronological orderDays, months, quartersShows seasonality and streaksSimilar periods may be distant; unequal intervals need labels
Natural numeric orderAges, temperatures, scoresPreserves progression: 18–24, 25–34, 35–44Unequal band widths can mislead
Alphabetical orderStores, products, departmentsMakes labels easy to findNeighbors may be unrelated
Ranked by row totalStore purchase totalsGroups high-volume storesCan hide small-store peaks; period affects ranking
Grouped by categoryStores within regions; products within departmentsSupports within-group comparisonBoundaries can obscure similarities
Clustered by value patternSimilar weekly store patternsPlaces similar rows togetherDepends on scaling, distance metric, and clustering method; order may change

Ordering brings cells together; missing data can create a false connection between them. A store with no purchases deserves a zero. A store whose reporting system failed needs a distinct neutral fill or “No data” marker explained in the legend. Turning both into zero makes a reporting failure look like a business failure.

Build a Small Example in Excel

Use an imagined bread shop taking preorders during a Wednesday promotion. In Excel for Microsoft 365 on Windows, paste this dataset into A1. All values are orders per day.

StoreMondayTuesdayWednesdayThursdayFriday
Central1218412015
Riverside1014351713
Market811291410

Select B2:F4, leaving the headings out. Choose Home > Conditional Formatting > Color Scales and select a two-color scale. Then choose Home > Conditional Formatting > Manage Rules, select the rule and click Edit Rule. Set Format Style to 2-Color Scale. For both endpoints, set Type to Number: use a minimum of 0 with a white fill and a maximum of 50 with a blue fill. Confirm both dialogs. Keep the numbers visible.

For a matching legend, enter “Orders per day” in H1 and 0, 10, 20, 30 and 50 in H2:H6. Apply the same two-color rule, endpoint colors and fixed bounds to H2:H6. Use these bounds for any equivalent grid you want to compare.

Wednesday forms a darker vertical band: every store has its highest count that day. Central’s 41 orders is the grid’s maximum, but not the scale’s upper bound of 50. The promotion is a possible explanation for the shared peak, not something the colors prove.

Check Patterns Before Drawing Conclusions

Suppose the bread shop also stayed open longer on Wednesday. Its higher total now combines extra selling time with the promotion. Orders per opening hour would answer a different question about demand. Geographic incident counts have a similar denominator problem: a busy population center may have more incidents without a higher rate per resident.

Before acting on an unexpected patch, inspect the underlying records. For website maps, compare the same page version and account for mobile versus desktop layouts; the same button may occupy different positions.

Across charts, keep units and scale limits compatible. Otherwise, each chart’s darkest cell can represent a different quantity. Matching colors on mismatched scales create a false comparison.

Key Takeaways

  • Treat a hotspot as a question worth investigating, not an explanation.
  • Choose the map type for the measurement, not its appearance.
  • Make units and color meaning explicit.
  • Keep missing data visibly separate from zero.
  • Compare equivalent records on compatible scales before making a decision.

Frequently Asked Questions

Heat maps also turn up in floor plans and warehouse operations. These applications use the same basic encoding, but the measurements differ.

Can you give me some examples of heatmaps?

Examples include a calendar colored by daily exercise minutes and a warehouse grid colored by visits to each storage location. The calendar can reveal routines and gaps, while the warehouse example highlights frequently used areas.

What is another name for a heatmap?

A matrix heat map is also called a color-coded matrix or shaded matrix. “Heatmap” and “heat map” are alternative spellings; names such as correlation matrix and density map refer to particular forms, not interchangeable names for every version.

How do I create a heat map?

Follow the Excel example above, then check the result: Central’s Wednesday cell should show 41 and be darker than its Monday cell showing 12.

What is a Wi-Fi heat map?

A Wi-Fi heat map overlays wireless measurements, such as signal strength, on a floor plan or geographic area to reveal coverage gaps. Survey-based maps use measurements, while predictive maps estimate coverage from access-point placement and building characteristics.

How much does a heat map cost?

The spreadsheet example needs no separate heat-map service if you already have Excel. For website analytics or a Wi-Fi survey, first specify which service you need; they are different purchases.

Start With One Clear Comparison

Test the finished bread-shop heat map with someone who has not read these instructions. Ask: “When does each store receive the most orders, and how many does Central receive that day?” They should identify Wednesday and 41 orders. If they cannot, check the labels, legend and number visibility before adding more data.