Shiny app project-explore diamonds dataset

Shuang Song

date: 02/15/2015

Introduction

How to use it

This app is to explore diamonds dataset. It consists of two pages: the first page returns you a table that you can select clarity, cut, and color levels of diamonds, also you can put range on carat, depth and table to filt diamonds you want; the second page returns you a plot which is the plot you can design yourself. By selecting x, y axis with select box, also facet column and color, also check title and theme if you want, then click update button you can see the plot on the right of your screen.

Page 1 output example

Find data frame with clarity equals to VS1:

   carat       cut color clarity depth table price    x    y    z
3   0.23      Good     E     VS1  56.9    65   327 4.05 4.07 2.31
10  0.23 Very Good     H     VS1  59.4    61   338 4.00 4.05 2.39
12  0.23     Ideal     J     VS1  62.8    56   340 3.93 3.90 2.46
23  0.23 Very Good     H     VS1  61.0    57   353 3.94 3.96 2.41
27  0.24   Premium     I     VS1  62.5    57   355 3.97 3.94 2.47

Page 2 output example

explore relationship of carat with price, with different color and cut.

plot of chunk unnamed-chunk-2

Reference