Is it possible to process click events on charts?

I am eager to rewrite a dash app I develop using streamlit. The only bit I am missing is the ability to react to click or select events on a chart, like updating another chart base on the click coordinates. Is it possible to do things like this in streamlit?

Hi @Alex_ml

It’s currently not directly supported in Streamlit. But you might figure an indirect way using the interactivity of some of the plotting libraries supported like Vega, Plotly or Bokeh. For inspiration see https://vega.github.io/vega-lite/examples/#interactive

1 Like