Learn more here. Building AI apps or dashboards in R? ggplot2 is a plotting package that makes it simple to create complex plots from data in a data frame. A line or two of R code is all it takes to produce a D3 graphic or Leaflet map. Note that online sources are allowed. If you don't want that printed, that is a good option. I got it to work with an older R version (R-3.4.4, March 2018). This works perfectly with the output html showing three graphs. Don`t forget to load knitr previously. A Default ggplot. You will see as you hover over each of the points it’s got the date_rounded and the total_sales information. Using the knitr function include_graphics. We will cover some additional steps we can take within ggiraphto enhance our data visualisation later on.Next up is a different package that allows for interactive graphs: plotly. We’ll show also how to center the title position, as well as, how to change the title font size and color.. Value. Further, economical yet clear labeling of axis ticks can increase the readability and visual appeal of any time series plot immensely. This post is gonna show how to use the theme() function to apply all type of customization on this default legend. 5.4 Plotting with ggplot2. It’s hard to succinctly describe how ggplot2 works because it embodies a deep philosophy of visualisation. Just put the plot into ggplotly() and hit enter. You want to put multiple graphs on one page. 33 Improving ggplotly(). If you want to embed numerous widgets in a larger HTML document (e.g., via HTML