I want geom_point() to be treated by gganimate::transition_reveal() as a non-path/polygon layer, for highlithing some data points, is there a way? @thomasp85
library(ggplot2)
library(gganimate)
library(dplyr)
airquality %>%
filter(Month == 5) %>%
ggplot(aes(Day, Temp, group = 1)) +
geom_line() +
geom_point(data = airquality %>% filter(Temp < 60), color = 'red') +
transition_reveal(1, Day) +
NULL
Created on 2018-09-19 by the reprex package (v0.2.1)