All examples By author By category About

clhenrick

Bivariate Hexbin Map

This example shows how to use the d3.hexbin plugin for hexagonal binning on a map with the d3.geo.albersUsa 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. Inspired by earlier work by Zachary Forest Johnson.

forked from mbostock's block: Bivariate Hexbin Map