Course Project 2

Nicolás Rivera Garzón

11/1/2021

Abstract

The goal of the project is to create a web page presentation using R Markdown that features a plot created with Plotly, and to host the resulting web page on either GitHub Pages, RPubs, or NeoCities.

Data

library(ggplot2)
data("iris")
attach(iris)

This famous (Fisher’s or Anderson’s) iris data set gives the measurements in centimeters of the variables sepal length and width and petal length and width, respectively, for 50 flowers from each of 3 species of iris. The species are Iris setosa, versicolor, and virginica.

Plot

box_plot <- plot_ly(y = Sepal.Length, type = 'box', color = Species)
layout(box_plot, title = "Iris Dataset", yaxis = list(title = "Sepal.Length"))