This presentation visualizes the iris dataset in three dimensions using the plotly library. Load these:
library(plotly) data(iris)
23 jan 2017
This presentation visualizes the iris dataset in three dimensions using the plotly library. Load these:
library(plotly) data(iris)
X axis shows sepal length, y axis petal length, z axis petal width. Size show sepal width. Finally, color marks species:
plot <- plot_ly(iris,
x = ~Sepal.Length,
y = ~Petal.Length,
z = ~Petal.Width,
size = ~Sepal.Width, type = "scatter3d",
color = ~Species)
plot