Real-time voting app

Hello everyone!

This is my first post, but I hope it is thorough enought

I want to develop a voting system, and I have already created the settings menu. Once that settings are entered, the user should go to the voting menu and start the voting process.

My idea here is:

  1. Question 1 is displayed during 10 seconds

  2. The page is refreshed and a plot appears, showing the current votes (votes may change during this period, so it is important that this plot is refreshing during this time)

  3. Question 2 is displayed during 10 seconds

  4. The page is refreshed and a plot appears, showing the current votes (votes may change during this period, so it is important that this plot is refreshing during this time)

… and so on for all questions

The main concern I have now is how to change between the different screens. The main things are:

  1. Plots need to be updated so as to reflect the different voting changes

  2. Once the voting is over, plot needs to disappear and show the next question

I would really appreciate if someone had an idea about how this could be implemented using streamlit or any similar app that was already developed. Thank you in advance! :slight_smile:

Kind regards,

Carlos