mcu_films | R Documentation |
A list of Marvel Cinematic Universe films through the Infinity saga. The Infinity saga is a 23 movie storyline spanning from Ironman in 2008 to Endgame in 2019.
mcu_films
A data frame with 23 rows and 7 variables.
Title of the movie.
Length of the movie: hours portion.
Length of the movie: minutes portion.
Date the movie was released in the US.
Box office totals for opening weekend in the US.
All box office totals in US.
All box office totals world wide.
Box office figures are not adjusted to a specific year. They are from the year the film was released.
library(ggplot2)
library(scales)
ggplot(mcu_films, aes(x = opening_weekend_us, y = gross_us)) +
geom_point() +
labs(
title = "MCU Box Office Totals: Opening weekend vs. all-time",
x = "Opening weekend totals (USD in millions)",
y = "All-time totals (USD)"
) +
scale_x_continuous(labels = label_dollar(scale = 1 / 1000000)) +
scale_y_continuous(labels = label_dollar(scale = 1 / 1000000))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.