Description Usage Format See Also Examples
A random sample of 32 action movies and 36 romance movies from https://www.imdb.com/ and their ratings.
1 |
A data frame of 68 rows movies.
Movie title
Year released
IMDb rating out of 10 stars
Action or Romance
This data was sampled from the 'movies' data frame in the ggplot2movies
package.
1 2 3 4 5 6 | library(ggplot2)
# Visualize relationship between rating and genre
ggplot(data = movies_sample, aes(x = genre, y = rating)) +
geom_boxplot() +
labs(x = "Genre: Action or Romance", y = "IMDb rating")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.