getDeckGLMap([
new deck.HexagonLayer({
id: "food-insecurity-heatmap",
data: data,
radius: 8000,
elevationRange: [0, 3000],
elevationScale: 1000,
getColorWeight: d => d["# of Food Insecure Persons Overall"],
colorAggregation: "SUM",
getElevationWeight: d => d["# of Food Insecure Persons Overall"],
elevationAggregation: "SUM",
extruded: true,
getPosition: d => [d.Longitude, d.Latitude],
pickable: true,
upperPercentile: 99.9,
lowerPercentile: 0,
colorRange: [
[1, 152, 189],
[73, 227, 206],
[216, 254, 181],
[254, 237, 177],
[254, 173, 84],
[209, 55, 78]
],
})
])