(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:
Thoughts:
– Six days to go!
Code:
> library(ggplot2) > ggplot(diamonds, aes(depth, carat)) + geom_point() + facet_grid(. ~ cut) + theme_minimal()