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