Ask Sawal

Discussion Forum
Notification Icon1
Write Answer Icon
Add Question Icon

how to load ggvis?

2 Answer(s) Available
Answer # 1 #

When it comes to data visualization in R, ggplot2 usually comes to mind. The ggvis package in R provides a good alternative to ggplot2 and it also includes some interactive plot features.

The screenshot below is from and it gives a brief explanation of what ggvis is about.

For ggvis installation into R use the code:

To load in the ggvis package, use the code:

Martina Bono
Answer # 2 #

ggvis is currently dormant. We fundamentally believe in the ideas that underlie ggvis: reactive programming is the right foundation for interactive visualisation. However, we are not currently working on ggvis because we do not see it as the most pressing issue for the R community as you can only use interactive graphics once you've successfuly tackled the rest of the data analysis process.

We hope to come back to ggvis in the future; in the meantime you might want to try out plotly or creating inteactive graphics with shiny.

The goal of ggvis is to make it easy to describe interactive web graphics in R. It combines:

ggvis graphics are rendered with vega, so you can generate both raster graphics with HTML5 canvas and vector graphics with svg. ggvis is less flexible than raw d3 or vega, but is much more succinct and is tailored to the needs of exploratory data analysis.

If you find a bug, please file a minimal reproducible example at If you're not sure if something is a bug, you'd like to discuss new features or have any other questions about ggvis, please join us on the mailing list:

Install the latest release version from CRAN with:

Install the latest development version with:

Isobel Aznavour
Licensed Behavior Analyst