29. Interactive Dashboards with Shiny

Displaying data and analysis is an important part of the data science process. R has long had great visualization capabilities thanks to built in graphics and ggplot2. With Shiny from RStudio, we can now build dashboards, all with R code. There are many other dashboard tools that integrate with R such as SiSense, PowerBI, Qlik and Tableau, but they are limited by the types of data and objects that can be passed back and forth to R. Shiny is built with R natively, so the dashboard can be backed by any data munging, modelling, processing and visualization that can be done in R.

Shiny enables R programmers to develop Web-based dashboards without having to learn HTML and JavaScript, though knowing those tools ...

Get R for Everyone: Advanced Analytics and Graphics, 2nd Edition 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.