From the course: Data Science Foundations: Data Assessment for Predictive Modeling

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Challenge: Producing multivariate visualizations for case study 1

Challenge: Producing multivariate visualizations for case study 1

From the course: Data Science Foundations: Data Assessment for Predictive Modeling

Start my 1-month free trial

Challenge: Producing multivariate visualizations for case study 1

(electronic music) - [Instructor] Welcome to your next challenge. I'm showing the previous ggplot2 chart, because your challenge is to reproduce a chart just like this using the Titanic dataset. I've created a special file for this purpose. It's called train modified, train because it's only the train partition and modified because some numeric variables have been converted into strings so that ggplot2 immediately recognizes that they are nominal variables and not scale. So your challenge is to take the following variables and imitate this chart. Age, passenger class, survived, and sex, and note that just one of those is a scale variable and the other three are nominal. If you know, ggplot2, this should only take about five minutes. If you've never used ggplot2 before, you should be able to figure it out from the previous example, but it might take more like 15 minutes.

Contents