March 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')

Plot

myplot

Thank you!