block by jeremycflin 783cb2025cd6660a5a8dbba7791cafb5

Bivariate Hexbin Map

Full Screen

This example shows how to use d3-hexbin for hexagonal binning on a map with the d3.geoAlbersUsa projection. Approximately 3,000 locations of Walmart stores are shown. These are binned into hexagons, and the hexagon area encodes the number of stores that fall into each bin. Color encodes the median age of Walmart stores in that area, with the oldest stores in black and the youngest stores in blue.

forked from mbostock‘s block: Bivariate Hexbin Map