Diamonds Explorer
Author: Alok
Date: 07/26/2015
A real time data visualizaton and analysis App has been developed to demonstrate Diamonds Explorer to choose the sample size. Draw X and Y graphs based on variable changes.
The following features are made available
A graphical plot
A summary of the data
A list of corresponding data records
The user is provided controls to slice and dice and change the graph based on variables
The App can be accessed securely from anywhere and any device with an internet connection.
Click here(https://alokd3.shinyapps.io/DataProductsProjectShiny) to access the App.
A new browser window will open on your device to show the controls and the visualizations in different tabs.
The data for this App has been sources from the built in datasets package in R.
The App can asily be custtomized to include a variety of sources ranging from CSV files to databasses either available locally or in the internet.
Enterprizes may chose to deploy this App on their premises to enable quick, secure and customizable access to data that may reveal meaningful and actionable insights.
library(shiny)
library(ggplot2)
dataset <- diamonds
fluidPage(
titlePanel("Diamonds Explorer"),
sidebarPanel(
sliderInput('sampleSize', 'Sample Size', min=1, max=nrow(dataset),value=min(1000, nrow(dataset)), step=500, round=0),
selectInput('x', 'X', names(dataset)),
selectInput('y', 'Y', names(dataset), names(dataset)[[2]]),
selectInput('color', 'Color', c('None', names(dataset))),
checkboxInput('jitter', 'Jitter'),
checkboxInput('smooth', 'Smooth'),
selectInput('facet_row', 'Facet Row', c(None='.', names(dataset))),
selectInput('facet_col', 'Facet Column', c(None='.', names(dataset)))),
mainPanel(
plotOutput('plot')))