I made this map in R using ggplot . Now I want to add the interactive bar in plotly that changes the map over time. Is it possible? I tried couple of times and R keeps crashing
map <- read_sf("map.shp")
data <- read_csv("minimumwage.csv")
data_cleaned <- inner_join(map , minimumwage , by = "States")
g<- ggplot(data = data1) + geom_sf(aes(fill = "wage"))
ggplotly(p = g)
Now my original plot is interactive. All I need is to add the timeline interactive bar