Is there any way to make gganimate work for transition times that are ranges of years? In my data I have three time points, two of which are ranges as shown below.
data:
Year rate group
2012-2014 7 Other CT, White
2015-2017 11 Other CT, White
2018 3 Fairfield, Black
2018 2 Fairfield, Hispanic
Run Code Online (Sandbox Code Playgroud)
here's an example of the code for the ggplot that I'd like to animate
data %>% ggplot(aes(y = rate, x = group)) +
geom_col() +
coord_flip() …Run Code Online (Sandbox Code Playgroud)