Is it possible to make the Hexagon Layer in streamlit.deck_gl_chart() have a height value that’s based on value (e.g. home price or household income)?
I’ve seen in the deck.gl docs that getElevationValue is supposed to work but it doesn’t seem to work in streamlit:
st.deck_gl_chart(
viewport={
'latitude': middle_lat,
'longitude': middle_lon,
'zoom': 11,
'pitch': 50,
},
layers=[{
'type': 'HexagonLayer',
'data': data,
'getLongitude': 'lon',
'getLatitude': 'lat',
'getElevationValue': 'price',
'radius': 150,
'elevationScale': 4000000,
'elevationRange': [25, 10000],
'pickable': True,
'extruded': True,
}])