Develop Data Products Coursera Week3 Assignment

Yue Li
Mar 11, 2018

Data

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")

Plot

Thank you!