Add data

Chart type

All 206 charts

Back-to-back histogram maker

Compare the shape of two groups on the same bins, side by side.

Needs a text column for Group and a number column for Value.

Need a dashboard or a data story?

We design and build them with charts drawn for your brand, not a library's defaults.

  • Product dashboards Analytics and admin views your customers open every day.
  • Reports and data stories Investor updates, annual reports and research that read in one pass.
  • Data-heavy websites Interactive charts, maps and calculators built into your site.

How to make a back-to-back histogram

  1. Paste your data

    Paste cells from a spreadsheet or upload a CSV with a text column for Group and a number column for Value.

  2. Check the columns

    The back-to-back histogram picks its columns for you. Change any of them under Data.

  3. 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.

DeviceCheckout time (s)
Desktop95
Desktop72
Desktop68
Desktop51
Desktop83
Desktop57
Desktop86
Desktop59
Download the sample CSV

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.