How to make a hexbin density
-
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.
-
Check the columns
The hexbin density 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 hexbin density?
A hexbin density chart groups the points of a scatter plot into a grid of hexagons and shades each hexagon by how many points it holds.
How to read it
Darker hexagons contain more points, so the dark core shows where most of the data sits. Read the shape and tilt of the dark area for the relationship between the two measures.
When to use it
Where points pile up when a scatter plot gets too dense. It is one of the correlation charts, which show how two or more measures move together.
For small datasets the hexagons are mostly ones and zeros, so a Scatter plot shows more. For data on a geographic map, use a Hexbin map.
Tips for a better hexbin density
- Switch to it from a Scatter plot once overplotting hides the dense areas, usually beyond a few thousand points.
- Filter out rows with missing or placeholder values such as 0 or 999, which otherwise form a false hot spot.
- Hover hexagons to read exact counts, since shading alone only shows relative density.
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.8 | 3.7 |
| 6 | 6.1 |
| 7.3 | 6.6 |
| 3.8 | 4.2 |
| 7.2 | 5.4 |
| 3.6 | 5.4 |
| 7.1 | 9.1 |
| 5.8 | 5 |
Other charts for the same data
More correlation charts
Questions, answered
- What is a hexbin density?
- A hexbin density chart groups the points of a scatter plot into a grid of hexagons and shades each hexagon by how many points it holds.
- How do you read a hexbin density?
- Darker hexagons contain more points, so the dark core shows where most of the data sits. Read the shape and tilt of the dark area for the relationship between the two measures.
- How do I make a hexbin density?
- Paste your data into the chart maker with a number column for X axis and a number column for Y axis. The hexbin density draws as you type. Then pick a look and a size and download it as SVG or PNG.
- When should I use a hexbin density?
- Where points pile up when a scatter plot gets too dense. It belongs to the correlation family of charts, which show how two or more measures move together. For small datasets the hexagons are mostly ones and zeros, so a Scatter plot shows more. For data on a geographic map, use a Hexbin map.
- Is this hexbin density maker free?
- Yes. It is free with no sign-up, your data stays in your browser, and you can download the hexbin density as SVG or PNG.