does anyone know how i can use streamlit to create a diagram where i can click on a bar and another diagram will change based on its size? Similar to power BI i tried to use AI but the code it gave me didnt work

  1. does anyone know how i can use streamlit to create a diagram where i can click on a bar and another diagram will change based on its size? Similar to power BI

Hi,

See this documentation, in chart selection, maybe this is what you are looking for.