How to build a real-time live dashboard with Streamlit

Hi @mabhijithn

Before going all the way to plotting your data, just try and load only the dataframe to the screen using the st.dataframe. You should see the dataframe being revised incrementally onscreen after the set time intervals. If this does not work, your plotting will not, too.

If the dataframe gets revised to the screen but the plotting still does not work, try:
a. removing the @st.experimental_memo, to see if the un@@#
b. forcing a page rerun after your sleep command, using: st.experimental_rerun()

Cheers

1 Like