The main goal is to get a gif using r. Something like this:
I\'m following a tutorial online. Here is the link: https://towardsdatascience.com/create-animated-bar-ch