in Python

 

in this assignment, you need to animate covid-19 numbers in 4 state in dynamic bar graph settings. You need to read data from a url, https://raw.githubusercontent.com/nytimes/covid-19-data/master/us-states.csv .

In the bar graph, randomly choose 4 states and show total number of cases in these state daily in an animated way. It means a frame should  show total number of cases on a given day. The next frame should show next day’s numbers. The animation should update twice a second (interval = 500), i.e., two days of data will be shown in one second. The title of graph should show current date, such as Jun 15, 2020. Both axes should have appropriate title. The animation should start the most earliest date and should stop once all data is consumed.