block by mbostock 4248146

Hexagonal Binning (Area)

Full Screen

This example shows how to use the d3-hexbin plugin for hexagonal binning. 2,000 random points with a normal distribution are binned into hexagons; area encodes the number of points that fall into each bin. You can also use color encoding.

Updated Example →

index.html