Package ggiraphExtra contains many useful functions for exploratory plots. These functions are made by both 'ggplot2' and 'ggiraph' packages. You can make a static ggplot or an interactive ggplot by setting the parameter interactive=TRUE.
You can install package ggiraphExtra from CRAN with the following command.
install.packages("ggiraphExtra")
You can install the latest version of ggiraphExtra from github.
#install.packages("devtools")
# devtools::install_github("cardiomoon/ggiraphExtra")
install.packages("ggiraphExtra", repos = c('https://cardiomoon.r-universe.dev', 'https://cloud.r-project.org'))
You can find the full version of this vignette at http://rpubs.com/cardiomoon/231820
You can find the shiny app for interactive plot using the ggiraphExtra package at: