library(tidyverse)
imdb <- read.csv("C:/Users/kate2/Desktop/BA7025 Data Wrangling/Week 5/Week 5/imdb.csv")
This data set from Kaggle gathers rating films and series information, including name, creation date, IMDB rate, votes, genre, duration, type, etc., total 14 kinds of data from IMDB until year 2021. The purpose of the following visualization is to observe the relationship between violence content appearance and films/TV shows.
ggplot(imdb, aes(Violence, fill = Type)) +
geom_bar() +
coord_polar() +
ggtitle("IMDB Film/TV Series Violence Content Level")
The number of film is much larger than that of TV series, and in both types of works, “none violence” content occupies the smallest portion while the percentage of “Mild” and “Moderate” are relatively close, reaching the highest number.