Skip to content

Heatmap โ€‹

Heatmaps represent values as colors in a matrix. Each axis encodes a variable, and the color of the cell represents the value of the main variable.

You can use it to compare two variables and detect patterns and trends through color changes.

Overview

Usage guidelines โ€‹

When to use โ€‹

Questions you can answer

  • What's the distribution of this data set?
  • Are there any outliers?
  • Is there any trend in the data?
When not to use โ€‹
  • If you want to see how a data set evolves over time, you can use a line chart.
  • If you want to compare variables, grouped bar charts provide more precise comparisons between cell values.
Usage recommendations โ€‹
Choose a color palette consistent with the data: usually, it will be a sequential palette, but it could be a divergent palette if there is a meaningful 0 point.
Don't forget to include a legend. To be able to read the chart accurately, viewers need to know which values are associated with which color.
Show values in cells to allow for a more precise comparison between cells.