8/29/2019

Date of compiling: 28-Aug-2019

# load packages
library(plotly); library(ggplot2)
plot_ly(mtcars, x = ~hp, y = ~mpg, type = "scatter",
color = ~factor(cyl), size = ~hp)