There seems to be multiple update problem with my dashboard. I am following an online tutorial to create a dashboard on covid-19.
My pie chart does not give me total number of cases when I select ‘Total’ in the select drop down. Instead, it only shows me last date’s number.
My dashboard only shows two state when I am on ‘Daily’ option. If I try adding multiple states, it does not update the pie chart.
My timeseries plot shows numbers in negative when selected as ‘Daily’. Works for ‘Total’
I am new with visualization in python. I found Streamlit pretty friendly, but unable to solve these issues.
Attaching my code and dataCode and Data