Hexbin Plot

A hexbin plot bins thousands of (x, y) points into hexagonal cells and colors each cell by the number of points it contains, so dense regions stand out and overplotting is eliminated. Hexagons tile more efficiently than squares and avoid the visual artifacts of grid binning. Usef

Template details

  • chart
  • hexbin
  • density
  • scatter
  • d3

When to use this template

A hexbin plot reveals the underlying density structure of large bivariate datasets, making it easy to spot clusters, trends, and sparse regions that would be obscured by overplotting. Analysts use it to understand where data points are most concentrated, providing insights into patterns of activity or distribution across two continuous variables.

  • Datasets with thousands to millions of points.
  • Two continuous quantitative variables.
  • When overplotting obscures patterns in scatter plots.
  • Identifying areas of high or low data density.
  • Understanding the overall distribution of bivariate data.
  • Revealing spatial or temporal concentration patterns.

Browse all Koan templates