Dataset Viewer App Presentation
2. Project Overview
This presentation pitches a simple Shiny web application that allows users to explore built-in R datasets interactively. The application is hosted on Shinyapps.io and the source code is available here: “https://emmas800.shinyapps.io/first_shiny_proj/”.
Key Features
Select from built-in R datasets (iris, mtcars, airquality , PlantGrowth, ToothGrowth).
View an interactive data table with an option to see only the first few rows.
3. The UI & Server-Side Logic
The UI uses standard Shiny widgets for easy interaction.
A selectInput dropdown menu is used for choosing the dataset.
A checkboxInput is used to filter between the full dataset and just the head() of the data.
The application uses a reactive() expression to dynamically select the correct dataset based on the user’s choice.
renderPrint for the summary and renderDT for the interactive table are also used.
4. Embedded R Code Example
As required, here is an example of the R code running within this presentation, showing the summary of the iris dataset:
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
5. Future Enhancements & Conclusion
Potential Future Work:
Adding interactive plots (e.g., histograms of selected columns).
Allowing users to upload their own data files.
Implementing more advanced statistical analysis options.
The end, thank you!