Created
February 2, 2016 02:57
-
-
Save sriyoda/2a874d4c822938c85b5e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ggplot(data = yrly_boxoffice) + | |
geom_smooth(aes(x=year, y=total_gross), colour='red', se=F) + | |
geom_smooth(aes(x=year, y=worldwide), colour='blue', se=F) + | |
geom_point(aes(x=year, y=total_gross), colour='red') + | |
geom_point(aes(x=year, y=worldwide), colour='blue') + | |
ggtitle("Total BoxOffice vs Highest Grossing Film by Year") + | |
xlab("Year") + | |
ylab("Revenue (Dollars)") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment