The dygraphs library in JavaScript (http://dygraphs.com/) is designed to show time series and trend data. It supports zoom, pan, and mouseover, and even supports mobile devices by offering pinch to zoom. The dygraphs R package provides a handy interface to many of the functions of the dygraphs library. It can be installed using install.packages("dygraphs").
For more information about the dygraphs package, see the following link, http://rstudio.github.io/dygraphs/.
Let's take a look at an example graph:
There are a couple of things you need to make a note of on this graph. First, you can see the mouseover effect at ...