How to do it?:
Open the Rmarkdown file of this assignment (link) in Rstudio.
Right under each question, insert a code chunk (you can use the hotkey Ctrl + Alt + I to add a code chunk) and code the solution for the question.
Knit the rmarkdown file (hotkey: Ctrl + Alt + K) to export an html.
Publish the html file to your Githiub Page.
Submission: Submit the link on Github of the assignment to Canvas
Install two packages gganimate and gifski then restart Rstudio. Using the Adult Census Income data, make an animation using geom_point and transition_states.
Using the Adult Census Income data, make an animation using geom_bar and transition_states.
Use the WHO’s dataset at this link. Make a top-10 bar race by months between countries on the number of deaths by Covid 19 in 2021.
Make a bar race using a dataset of your own interest. You may use the dataset that we use in class (https://covidtracking.com/data/download/all-states-history.csv) but you should make a different bar racev from ones in the slides.