An interactive graphic allows the user to interact with the graphical information presented on the display. It permits to play with the data and makes the information more understandable. Interactive graphics are more and more
widespread in data analysis. It is even used by news papers like the New York Times and scientific papers like Science.
R is excellent for data processing and is awesome for producing
Shiny is an R library that allows you to turn your R analyses into interactive web applications. It makes a two-waycommunication, meaning you can rerun R scripts based on input from the web application. The ShowMeShiny Gallery contains hundreds of examples. Therefore, this R graph gallery does not show any shiny section.
This page is dedicated to one-way analysis. It lets you play with the image, but no new calculation are done. Several htmlwidgets allow you to draw interactive graphics with R, such as the ones presented below. Note that in my opinion, plotly is the most interesting, especially because it is close to the ggplot2 syntax.
Ggplotly is a function from the plotly library that allows to turn any ggplot2 chart interactive. If you know how to make a ggplot2 chart, you will make it interactive in the next 3 minutes, read the related blog post!