What is a heat map, and when does it beat a table?

A heat map is a grid where colour stands for the value, so you see the pattern before you read a number. When it beats a table or a bar chart, how to build one in Excel and Power BI, and the colour choice that keeps it readable.

Short answer: a heat map is a table where every cell is coloured by its value, light for small and dark for big, so the pattern shows before you read a single number. Use it when you have two categories and one number, like weekday by hour, product by region or month by team. In Excel it is Conditional Formatting, Color Scales; in Power BI it is a matrix with a background colour set by the value.

The chart, part by part: What is a heat map? draws its parts and shows how to read one, its kinds and the mistakes to avoid.

A table of 7 days by 24 hours holds 168 numbers. Nobody reads 168 numbers. Colour them, and the busy Friday afternoon and the dead Sunday morning jump out in a second.

Nothing loads from YouTube until you press play. Then Google receives your IP address and may set its own storage. Narrated with an AI-generated voice. Privacy

When is a heat map the right chart?

When the data is a grid: one category across, one category down, and a number in every cell.

Your dataHeat map?Why
Sales by weekday and hourYesTwo categories, one number, many cells
Support tickets by team and monthYesShows which team is busy when
Revenue by product, one columnNoOne category: a sorted bar chart compares better
Revenue by month, one lineNoChange over time: use a line chart
Exact values people must copyNoKeep the table, colour only helps the eye

The test: if your question is "where are the hot spots?", a heat map answers it. If it is "exactly how much?", the reader still needs the number, so keep the values in the cells or in a tooltip.

How do you make one in Excel?

  1. Lay the data out as a grid: categories in the first row and column, numbers inside.
  2. Select only the numbers, not the headers.
  3. Go to Home, Conditional Formatting, Color Scales and pick a scale.

Excel colours each cell by where its value sits between the lowest and the highest. To hide the numbers and keep only the colour, give the cells the custom number format ;;;.

How do you make one in Power BI?

Power BI has no visual called heat map. You build it from a matrix:

  1. Put one category in Rows, the other in Columns and the number in Values.
  2. In the Format pane, open Cell elements and turn on Background color.
  3. Choose Gradient and set the lowest and highest colours.

The result looks and reads like a heat map, and it keeps the cross-filtering every Power BI visual has.

Which colours should a heat map use?

One colour from light to dark. A light-to-dark blue, or any single hue, reads in order: darker means more, with no legend needed. A red-to-green scale looks natural, but red and green are the pair most colour blind readers confuse, and the mid values turn a muddy brown for everyone. Use two colours only when the middle means something, like below and above target, and then pick a pair that differs in lightness, such as blue and orange.

Where can you check this?

Is a heat map right for your data?

Paste your table into Chart Compass and say what the chart should show. When your data has two categories and a number, it offers the heatmap drawn with your own numbers and tells you what it is called in your tool: a matrix with background colour in Power BI, a table with Color Scales in Excel. It also shows the calendar heatmap for daily data, one of the 50 charts it knows.

The tool

Do it in your browser.

Data

Chart Compass

Paste your data, say what the chart should show, answer two or three questions, and see the charts that fit drawn with your own numbers, with their names in Power BI, Tableau and Excel.

Keep reading

More from the blog.

Every post