Scatter plot with with text box of information for clicked point

Hello!

I am currently clustering textual data, and I want to visualize this with a scatterplot. I also want to have information on the side, such that when I click a certain point in the plot, the information (such as the text itself) is displayed in the side information square. Hovering usually does not fit that information as texts tend to be quite long.

Has anyone implemented something similar? WOuld be happy to see some example; I have tried to find it but have not found anything.

Thanks!
Cheers

Hi @Filip_Cornell, welcome to the Streamlit community!

streamlit-bokeh-events by @ash2shukla might do something like you are talking about. On the README example, it shows interacting with a scatterplot and returning that information back to Python.

Best,
Randy

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