Learning to build interactive plots is not within the scope of this book, but it is likely that you will see (and admire!) them on your data science with R journey, so a few examples are laid out in this topic.
Interactive Plots
Plotly
Plotly is an R package designed to allow you to create interactive plots online. It integrates with ggplot2, which we also learned in this chapter, and can be implemented in a number of programming languages as well, including Scala, Python, and Node.js.
We can view a few of these demos on the Plotly website, such as Dashboards under Plotly Fundamentals. We can see a full dashboard of Plotly charts load, including a plot of the diamonds dataset in the upper left, a bar chart next to it, a map...