The Diamond Price Explorer is an interactive Shiny application that allows users to explore diamonds based on price, cut quality, and color.
You can access the Diamond Price Explorer application using the following link:
October 15, 2024
The Diamond Price Explorer is an interactive Shiny application that allows users to explore diamonds based on price, cut quality, and color.
You can access the Diamond Price Explorer application using the following link:
Users can filter diamonds by:
The application provides a histogram of price distribution and a summary table.
Here is an example of how we can filter and visualize the diamonds dataset in our application:
library(ggplot2) library(dplyr) filteredData <- diamonds %>% filter(price >= 1000 & price <= 5000, cut == "Ideal", color == "G") filteredData %>% summarize(Count = n(), AvgPrice = mean(price), MaxPrice = max(price), MinPrice = min(price))
## # A tibble: 1 × 4 ## Count AvgPrice MaxPrice MinPrice ## <int> <dbl> <int> <int> ## 1 2007 2253. 4997 1000
The Diamond Price Explorer provides an intuitive interface for exploring diamond prices and characteristics.