Black Lives Matter. Please consider donating to Black Girls Code today.

Time Series ggplot2 examples not working

None of the examples demonstrated on https://plot.ly/ggplot2/time-series/ are working on my machine

Specifically, x axis ticks do not update on zoom and the Month + Year of the date does not show along x axis on hover.

I’m using the up to date versions of ggplot2 and plotly from CRAN (ggplot2: 2.1.0, plotly: 3.6.0)

Does anyone know which versions might reproduce the examples from the website? Otherwise, why are these examples here if this is not a feature of the current version of plotly on CRAN?

try devtools::install_github("ropensci/plotly")
The CRAN version might be a little outdated…

See https://plot.ly/r/getting-started/#installation

1 Like