Racing bar charts is usually a helpful strategy to visualize comparative information over time. There are a selection of how to create them in R, together with combining ggplot with gganimate or utilizing echarts4r. However the easiest method I’ve discovered to date is with the ddplot package deal.
Welcome to ddplot
ddplot isn’t on CRAN, so that you’ll want to put in it from GitHub with a package deal like devtools or remotes.
remotes::install_github("feddelegrand7/ddplot", build_vignettes = TRUE)