Rotated hexbin
The visualization shows a rotating field of 2,000 points binned into hexagonal cells, with color intensity reflecting the number of points per hexagon. Using D3 v3 and the d3.hexbin plugin, the hexagons are rotated 90° and updated continuously via a timer, swapping x and y coordinates to match the orientation. Each frame, 20 random points are replaced from a normal distribution that orbits a moving center, causing the hexbin layout to dynamically update as cells appear, disappear, and recolor.
AI-generated descriptionA version of Mike Bostock’s hexbin example, modified to use hexagons rotated by 90°.
Aside from rotating the hexagon primitives, the only other change is to swap the meaning of x and y, for all inputs and outputs of the plugin.
forked from <a href='http://bl.ocks.org/jasondavies/'>jasondavies</a>'s block: <a href='http://bl.ocks.org/jasondavies/f5922ed4d0ac1ac2161f'>Rotated hexbin</a>