- Anime ratings can vary widely between shows and it is based on multiple factors
- This project focuses on what could influence these ratings
2026-03-27
library(tidyverse)
library(knitr)
data = read_csv("anime.csv")
#cleaning the dataset
data = data %>%
select(title, score, episodes, members, type, sfw) %>%
filter(sfw) %>%
select(-sfw) %>%
filter(type != "music") %>%
filter(type != "special") %>%
drop_na()
| title | score | episodes | members | type |
|---|---|---|---|---|
| Fullmetal Alchemist: Brotherhood | 9.10 | 64 | 3206028 | tv |
| Hunter x Hunter (2011) | 9.04 | 148 | 2688079 | tv |
| Shingeki no Kyojin Season 3 Part 2 | 9.05 | 10 | 2133927 | tv |
| Steins;Gate | 9.07 | 24 | 2463954 | tv |
#Pearson correlation between score and members cor_test <- cor.test(data$score, data$members, method = "pearson") cor_test
## ## Pearson's product-moment correlation ## ## data: data$score and data$members ## t = 46.162, df = 10865, p-value < 2.2e-16 ## alternative hypothesis: true correlation is not equal to 0 ## 95 percent confidence interval: ## 0.3890906 0.4205304 ## sample estimates: ## cor ## 0.4049301
Dataset: https://www.kaggle.com/datasets/andreuvallhernndez/myanimelist
Tools Used: R, ggplot2, plotly, dplyer