DVC Day 24: Depth Charging

(This Post is part of my 30 day Data Visualization Challenge – you can follow along using the ‘challenge’ tag!)

When we charge a bit more into the question of depth and cut, an interesting thing happens: it looks as though the depth for a particular cut becomes more narrow up to Premium – but then loosens up a bit for Ideal:

Screen Shot 2015-05-06 at 7.22.42 PM

Thoughts:
– Six days to go!

Code:

> library(ggplot2) > ggplot(diamonds, aes(depth, carat)) + geom_point() + facet_grid(. ~ cut) + theme_minimal()

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s