How to make a back-to-back histogram
-
Paste your data
Paste cells from a spreadsheet or upload a CSV with a text column for Group and a number column for Value.
-
Check the columns
The back-to-back histogram picks its columns for you. Change any of them under Data.
-
Style it and download
Under Style, pick a look, colours, background and size, add a title and source, then download SVG or PNG.
What is a back-to-back histogram?
A back-to-back histogram bins two groups on the same value scale and draws one group's bars to the left and the other's to the right of a shared centre column.
How to read it
Bins run down the centre and bar length on each side is that group's count in the bin. Compare the outlines of the two sides: shifted peaks show a difference in typical value, different widths show a difference in spread.
When to use it
Compare the shape of two groups on the same bins, side by side. It is one of the distribution charts, which show how values spread out, cluster and stray.
For three or more groups, use a Ridgeline or Violin plot. When the bands are already counted, such as age groups, a Population pyramid takes the totals directly.
Tips for a better back-to-back histogram
- Map a group column with exactly two groups; only the first two are drawn.
- If the groups differ a lot in size, compare shapes rather than lengths, and use the share shown on hover for each bin.
- Put the group you want readers to treat as the baseline first in the data, since it takes the left side.
Data you need
One row per item with a text column for Group and a number column for Value. Column names can be anything; the chart maker matches columns by type, and you can change the match under Data.
| Device | Checkout time (s) |
|---|---|
| Desktop | 95 |
| Desktop | 72 |
| Desktop | 68 |
| Desktop | 51 |
| Desktop | 83 |
| Desktop | 57 |
| Desktop | 86 |
| Desktop | 59 |
Other charts for the same data
More distribution charts
Questions, answered
- What is a back-to-back histogram?
- A back-to-back histogram bins two groups on the same value scale and draws one group's bars to the left and the other's to the right of a shared centre column.
- How do you read a back-to-back histogram?
- Bins run down the centre and bar length on each side is that group's count in the bin. Compare the outlines of the two sides: shifted peaks show a difference in typical value, different widths show a difference in spread.
- How do I make a back-to-back histogram?
- Paste your data into the chart maker with a text column for Group and a number column for Value. The back-to-back histogram draws as you type. Then pick a look and a size and download it as SVG or PNG.
- When should I use a back-to-back histogram?
- Compare the shape of two groups on the same bins, side by side. It belongs to the distribution family of charts, which show how values spread out, cluster and stray. For three or more groups, use a Ridgeline or Violin plot. When the bands are already counted, such as age groups, a Population pyramid takes the totals directly.
- Is this back-to-back histogram maker free?
- Yes. It is free with no sign-up, your data stays in your browser, and you can download the back-to-back histogram as SVG or PNG.