ggvis is a data visualization package for R which lets you:

The goal is to combine the best of R (e.g. every modelling function you can imagine) and the best of the web (everyone has a web browser). Data manipulation and transformation are done in R, and the graphics are rendered in a web browser, using Vega. For RStudio users, ggvis graphics display in a viewer panel, which is possible because RStudio is a web browser.

Examples of ggvis graphics

Histogram:

<!–html_preserve–>

<!–/html_preserve–>

Scatterplot with smooth curve and interactive control:

#> Warning: Can't output dynamic/interactive ggvis plots in a knitr document.
#> Generating a static (non-dynamic, non-interactive) version of the plot.

<!–html_preserve–>

<!–/html_preserve–>

Getting started with ggvis

More advanced topics

More about ggvis