/barRacer

Create animated bar chart races with ggplot2 and gganimate

Primary LanguageROtherNOASSERTION

barRacer

Travis build status AppVeyor build status

The goal of barRacer is to provide a simple function to generate bar chart race animations using ggplot2 and gganimate.

Installation

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")

Example

This simple example uses the gapminder dataset:

#install.packages("gapminder")
library(barRacer)

bar_chart_race(gapminder::gapminder, country, pop, year, title = "Population over time")

Acknowledgements

Feedback

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 coffeeBuy me a coffee