## Title Year Rating
## 1 Inception 2010 8.8
## 2 Toy Story 3 2010 8.3
## 3 Incendies 2010 8.2
## 4 How to Train Your Dragon 2010 8.1
## 5 Black Swan 2010 8.0
## 6 Tangled 2010 7.8
## 7 The Fighter 2010 7.8
## 8 Kick-Ass 2010 7.7
## 9 Despicable Me 2010 7.7
## 10 Harry Potter and the Deathly Hallows: Part 1 2010 7.7
# Create the scatterplot
ggplot(year_highest, aes(x = Rating, y=Runtime)) +
geom_point(color="black", pch=21) +
labs(
title = "2010 Movies Rating vs. Runtime",
x = "Rating",
y = "Runtime (in minutes)"
)
There appears to be a weak coorelation between the rating of a movie and
the length.