Summary

Lots of graphical packages were covered in this chapter: ggplot2ggvisplotlyrCharts, and googleVis. With ggplot2 alone, you can easily draw high-quality plots. Combine it with other packages such as shiny or plotly to make interactive graphics.

The remaining packages—ggvisplotlyrCharts, and googleVisare specialized in making interactive graphics. These are great for applications of all kinds and web pages. Even academic journals are encouraging writers to craft and publish interactive plots.

This chapter drew bubble plots and a choropleth using the different packages. There are lots of kind of plots we could have drawn using these same packages. Some examples are as follows:

  • Heatmaps
  • Scatterplots
  • Bar plots
  • Lollipop plots ...

Get Hands-On Data Science with R now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.