Create map with graduated symbols using streamlit

i want to create a map with graduatad symbol using streamlit but i don’t have idea how to do

Hi @RIHI_MERYAME

Here’s a code snippet on how to implement this using Altair

https://altair-viz.github.io/gallery/groupby-map.html

Hope this helps!

1 Like

Streamlit doesn’t do maps, byt you can use other libraries that integrate with streamlit.

For altair charts, use st.altair_chart().

1 Like

Hi @RIHI_MERYAME

You can use st.map() to display the map in a Streamlit app and for the size of data points you can specify that via the size parameter.

Here’s the Docs page of st.map():

2 Likes

thank u for your helping

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.