Documents and Office

How to Read and Make Box Plots and Heatmaps

Box plots show spread, medians and outliers across groups; heatmaps reveal patterns in tables. How to read both, choose colour scales and avoid mistakes.

Saizul Amin
Saizul Amin30 Oct 2026 · 3 min read
How to Read and Make Box Plots and Heatmaps

How to Read and Make Box Plots and Heatmaps

Bar charts of averages are everywhere, and they hide most of what matters. Two groups can share an average while one is tightly consistent and the other is all over the place. Box plots show the whole spread of each group, and heatmaps show patterns across a table that numbers alone conceal. The free Box Plot and Heatmap Maker draws both from CSV data.

Anatomy of a box plot

A box plot, invented by statistician John Tukey, summarises a set of values with five numbers and a rule for outliers:

  • The box spans the first quartile to the third quartile, so it contains the middle half of the data.
  • The line inside the box is the median, the middle value.
  • The whiskers extend to the furthest values that lie within 1.5 times the box height (the interquartile range) from the box.
  • Points beyond the whiskers are plotted individually as outliers.
  • The tool also marks the mean with a cross, so you can see when it is pulled away from the median by skewed data.

What to look for

  • Medians: which group is typically higher?
  • Box heights: which group is more variable?
  • Overlap: if boxes overlap heavily, the difference may not be meaningful.
  • Skew: a median close to one end of the box, or a long whisker on one side, means the data is lopsided.
  • Outliers: errors to fix, or important cases to investigate.

A box plot is not a statistical test. If you need to know whether a difference is real, use a test such as a t-test or Mann-Whitney test as well.

Data for box plots

Data can be "long", with one row per observation and a column naming the group, or "wide", with one column per group. Both work. Box plots are most useful with at least five or so values per group; for very small groups, show the individual points instead.

Heatmaps

A heatmap colours each cell of a table by its value, so patterns jump out: sales rising through the year in one region and falling in another, busy hours in a week-by-hour grid, or strong and weak pairs in a correlation matrix. Put the row labels in the first column and the column labels in the header row.

Choosing colours

Colour choice makes or breaks a heatmap.

  • Viridis, from dark purple to yellow, was designed to be perceived evenly, to stay in order when printed in grey and to work for people with common colour vision deficiencies. It is the best default.
  • A single-hue scale such as blues suits counts and amounts that start at zero.
  • A diverging scale, red to blue through white, suits data with a meaningful midpoint, such as change from last year, profit and loss, or correlations. The tool centres it on zero.

Avoid rainbow scales: they create bands and boundaries that are not in the data, and many readers cannot distinguish their reds and greens. Showing the values in the cells helps everyone read exact numbers.

When to use which

Use a box plot when you want to compare the distribution of one measure across groups, such as test scores by class. Use a heatmap when you have a full grid of values across two categories, such as sales by region and month, and want to see where values are high or low at a glance.

Step by step

  1. Choose box plot or heatmap.
  2. Paste or open your data.
  3. For box plots, choose long or wide layout and the columns.
  4. For heatmaps, pick a colour scale and whether to show values.
  5. Download the chart as SVG or PNG.

Privacy

Charts are drawn in your browser; your data is not uploaded.

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages