Static visualizations are sometimes sufficient to inform tales along with your knowledge. However typically you need to add interactivity, so customers can hover over graphs to see underlying knowledge or hyperlink their hover over one visualization to highlighting knowledge in one other.
R has quite a few packages for creating interactive graphics together with echarts4r, plotly, and highcharter. I like and use all of these. However for simple linking of interactive graphs, it’s onerous to beat ggiraph.
From ggplot to ggiraph in 3 simple steps
There are three simple steps to show ggplot code into an interactive graph:
- Use a