The goal of barRacer is to provide a simple function to generate bar
chart race animations using ggplot2
and gganimate
.
This package is not yet on CRAN.
You can install the development version of barRacer from GitHub with:
# install.packages("devtools")
devtools::install_github("jl5000/barRacer")
This simple example uses the gapminder
dataset:
#install.packages("gapminder")
library(barRacer)
bar_chart_race(gapminder::gapminder, country, pop, year, title = "Population over time")
- Hadley Wickham for the
tidyverse
(includingggplot2
); - Thomas Lin Pedersen for
gganimate
; - Ray Larabie (Typodermic Fonts) for the Hemi Head font used in the hex logo.
If you have any issues or feedback, please do raise a Github Issue or create a Pull Request. All donations gratefully received.
Buy me a coffee