How to make a heatmap
- Copy the row-name column (e.g. equipment) and the value columns (e.g. 08:00, 12:00, ...) together with the header.
- Choose the Y-axis (row) category column and tick the value columns for the X axis in the order you want. Optionally enter an X-axis name and a color bar name.
- Press Draw and check the cell colors and values and the highest/lowest cell interpretation.
Worked example with sample data
The sample data are measurements for five pieces of equipment (A-E) at six times of day (08:00-04:00) over two days; each cell is the two-day average.
Redder cells are higher. The Equipment B row is red overall and peaks at 00:00 (1.74). The lowest cell is Equipment D at 16:00 (0.825), and the whole Equipment D row is bluish.
Equipment B and E rise toward the night slots (00:00, 04:00), which points to time-of-day factors such as night-shift conditions or temperature. A heatmap reveals such whole-row or whole-column patterns far faster than a table of numbers.
What is a heatmap?
A heatmap turns each cell of a table into a color intensity. Without reading every number you can immediately see which row-column combinations are high or low and whether there is a pattern.
Colors run from blue (low) through yellow to red (high) (reversed RdYlBu), and each cell also shows its value to two decimal places.
Data layout
Use a wide table where each row is one subject (e.g. Equipment A) and several columns are intervals of the same measurement (e.g. time slots). The ticked column names become the X-axis cells, placed from left to right in the order you ticked them.
When the same row name appears several times (e.g. repeated daily measurements), the cell value is their mean. Cells without values are left blank.
How to read a heatmap
- The automatic interpretation reports the position (row/column) and value of the highest and lowest cells.
- If a whole row is red, that subject (equipment) is the likely cause; if a whole column is red, that interval (time slot) is.
- The color bar spans the data minimum to maximum, so small differences can look like big color changes - check the values in the cells too.
Frequently asked questions
Is this a correlation heatmap?
No. It shows a table of actual values as colors. For correlations between variables, use Correlation matrix in the Statistics menu.
How is the X-axis order set?
Columns are placed in the order you tick them. To reorder, untick them and tick them again in the order you want.
What appears when I hover?
The X-axis name, row name and value of the cell under the cursor.