# of farmer markets
200
150
100
50
25
1
Data binning points with Turfjs
This sample shows how to create a hexagon grid and perform an aggregate to determine how many points are within each cell of a hexagon grid. This sample uses the open source
Turf.js
library to perform the difference calculation. Also take a look at the
Gridded Data Source samples
for a more robust solution.