Yue Li
Mar 11, 2018
This assignment uses Iris data in R to create an interactive plot.
library(plotly)
myplot <- plot_ly(data = iris, x = ~Sepal.Length, y = ~Petal.Length, color = ~Species,type = 'scatter',mode = 'markers')
htmlwidgets::saveWidget(as.widget(myplot), file = "demo.html")