2011 was a wonderful year for movies!
## Title Genre Rating
## 1 The Intouchables Biography 8.6
## 2 Warrior Action 8.2
## 3 The Help Drama 8.1
## 4 Harry Potter and the Deathly Hallows: Part 2 Adventure 8.1
## 5 Drive Crime 7.8
## 6 X: First Class Action 7.8
## 7 The Girl with the Dragon Tattoo Crime 7.8
## 8 Midnight in Paris Comedy 7.7
## 9 50/50 Comedy 7.7
## 10 Rise of the Planet of the Apes Action 7.6
Consider the following scatterplot that shows the interaction between the Rating vs. the Length of all movies in 2011.
# Create the scatter plot
ggplot(selected_movies, aes(x = Rating, y=Runtime)) +
geom_point() +
labs(
title = "2011 Movies Rating vs. Runtime ",
x = "Rating",
y = "Runtime (in minutes)"
)
There doesn’t appear to be a strong correlation between Rating and Runtime, however, note that the poorest rated movie is also the shortest.