Example of how to
- use the d3-hexgrid plugin with Canvas and
- use the additional d3-hexgrid methods
.geoPolygon()
and.polygonPoints()
to filter out point locations beyond the desired geography.
More examples... Farmers Markets I: SVG • Farmers Markets II: SVG and interaction • Military disputes: SVG with clipping • Number of cities: Canvas • all examples on Observable