Add data

Chart type

All 206 charts

2D histogram maker

Where pairs of values pile up, counted in a grid of cells.

Needs a number column for X axis and a number column for Y axis.

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 2D histogram

  1. Paste your data

    Paste cells from a spreadsheet or upload a CSV with a number column for X axis and a number column for Y axis.

  2. Check the columns

    The 2D 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 2D histogram?

A 2D histogram divides the plane of two numeric measures into a grid of rectangular cells and shades each cell by how many data points fall inside it.

How to read it

Darker cells hold more points, so the darkest patch is where pairs of values are most common. Read the cell edges on the axes for the ranges, and look at the overall tilt of the dark region for the relationship.

When to use it

Where pairs of values pile up, counted in a grid of cells. It is one of the distribution charts, which show how values spread out, cluster and stray.

With a few hundred points or fewer, a Scatter plot keeps every individual value visible. For a smoother, less blocky picture of the same density, use Hexbin density or Contour density.

Tips for a better 2D histogram

  • Use it once a scatter plot has thousands of points and the dots pile into a solid blob.
  • Make the chart large enough that the dense region spans several cells, since cell size follows the chart dimensions.
  • Trim far outliers first, because they stretch the grid and leave most cells empty.

Data you need

One row per item with a number column for X axis and a number column for Y axis. Column names can be anything; the chart maker matches columns by type, and you can change the match under Data.

Session length (min)Pages viewed
4.83.7
66.1
7.36.6
3.84.2
7.25.4
3.65.4
7.19.1
5.85
Download the sample CSV

Questions, answered

What is a 2D histogram?
A 2D histogram divides the plane of two numeric measures into a grid of rectangular cells and shades each cell by how many data points fall inside it.
How do you read a 2D histogram?
Darker cells hold more points, so the darkest patch is where pairs of values are most common. Read the cell edges on the axes for the ranges, and look at the overall tilt of the dark region for the relationship.
How do I make a 2D histogram?
Paste your data into the chart maker with a number column for X axis and a number column for Y axis. The 2D histogram draws as you type. Then pick a look and a size and download it as SVG or PNG.
When should I use a 2D histogram?
Where pairs of values pile up, counted in a grid of cells. It belongs to the distribution family of charts, which show how values spread out, cluster and stray. With a few hundred points or fewer, a Scatter plot keeps every individual value visible. For a smoother, less blocky picture of the same density, use Hexbin density or Contour density.
Is this 2D histogram maker free?
Yes. It is free with no sign-up, your data stays in your browser, and you can download the 2D histogram as SVG or PNG.