My ShinyApp for Iris dataset

Griselda Baron
Marzo 28, 2021

Introduction

The application for Iris dataset was built as course project of Developing Data Products.

The App is avalaible at: https://grissellbaron.shinyapps.io/Assignment4/.

Source code for ui.R and server.R are avalaible on the GitHub repo: https://github.com/LaylaGrisell/CourseraDevelopingDataProducts/.

Iris dataset

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.

summary(iris)
  Sepal.Length    Sepal.Width     Petal.Length    Petal.Width   
 Min.   :4.300   Min.   :2.000   Min.   :1.000   Min.   :0.100  
 1st Qu.:5.100   1st Qu.:2.800   1st Qu.:1.600   1st Qu.:0.300  
 Median :5.800   Median :3.000   Median :4.350   Median :1.300  
 Mean   :5.843   Mean   :3.057   Mean   :3.758   Mean   :1.199  
 3rd Qu.:6.400   3rd Qu.:3.300   3rd Qu.:5.100   3rd Qu.:1.800  
 Max.   :7.900   Max.   :4.400   Max.   :6.900   Max.   :2.500  
       Species  
 setosa    :50  
 versicolor:50  
 virginica :50  



Shiny App presentation

This application helps us to visualize the histogram for 4 variables: Sepal.Length, Sepal.Width, Petal.Length and Petal Width.

The user selects the variable that he wants to graph.

In addition, the user can also select the number bins of histogram and if wants the histogram to be grouped by Species with the options “Yes” and “No” in the section “Grouping by Species”.

Histograms of my shinyApp - Example

plot of chunk unnamed-chunk-2

plot of chunk unnamed-chunk-3