- mtcars dataset has been used in this sample presentation
- Relationship between hp and mpg has been exploed
Sandeep

library(plotly)
plotly::ggplotly(mtcars %>%
ggplot(aes(hp,mpg,col=as.factor(cyl)))+
geom_point(size=4))
## PhantomJS not found. You can install it with webshot::install_phantomjs(). If it is installed, please make sure the phantomjs executable can be found via the PATH variable.
## Error in file(con, "rb"): cannot open the connection