Date: December 27, 2022
This repository contains the R-Markdown file for an exploratory data analysis (EDA) of IMDb's top 250 movies. The analysis covers various aspects, including numerical insights, genres, and a focus on notable actors, directors, and writers.
The dataset used for this analysis was sourced from Kaggle, specifically the IMDb Top 250 Movies dataset created by Ashish Jangra.
- R and RStudio
- Libraries: dplyr, stringr, DT, ggplot2, plotly
-
Numerical Insights: Explored key numerical features such as movie rank, year of release, duration, IMDb votes, and IMDb ratings. Addressed missing data and conducted correlation analysis.
-
Genres Analysis: Investigated the distribution of movie genres in the top 250 list, revealing Drama as the most prevalent genre.
-
Genre and Attributes Relationships: Explored relationships between genres and attributes like production year, IMDb rating, duration, and number of votes.
-
Actors Analysis: Identified the most prolific actors in the top 250 movies, highlighting Robert De Niro as a standout with nine appearances.
-
Directors and Writers Analysis: Explored the contributions of directors and writers, showcasing notable figures such as Kubrick, Kurosawa, and Nolan.
The analysis includes interactive visualizations using ggplot2 and plotly to enhance the understanding of relationships and trends.
-
Ensure you have R and RStudio installed on your machine.
-
Install the required libraries using the following commands:
install.packages("dplyr") install.packages("stringr") install.packages("DT") install.packages("ggplot2") install.packages("plotly")
-
Open the R-Markdown file (
IMDb_Top_250_Analysis.Rmd
) in RStudio. -
Execute the code chunks sequentially to reproduce the analysis.
Special thanks to Ashish Jangra for creating the IMDb Top 250 Movies dataset on Kaggle.
Feel free to explore and contribute to the analysis. If you have any questions or suggestions, please open an issue or reach out to the project author.
Happy exploring!