This repository contains an analysis of the Netflix Shows dataset using MySQL.
pitch deck link: https://gamma.app/docs/Netflix-Shows-MySQL-Analysis-zlg3vgaytxdvtiz
- Dataset Description
- Importing Dataset into MySQL Workbench
- Difficulties Encountered
- Interesting Observations
- Future Work
- Insights Learned
- Charts and Visualizations
- SQL Queries Document
The Netflix Shows dataset includes information about various shows available on Netflix, including details such as title, director, cast, country, date added, release year, rating, duration, and more.
-
Creating a New Database:
- Open MySQL Workbench and connect to your MySQL server.
- In the
Schemastab, right-click and selectCreate Schema. - Name your schema (e.g.,
netflix_shows) and apply.
-
Importing the Dataset:
- Right-click on your database (schema) in the
Schemastab and selectTable Data Import Wizard. - Select the CSV file (
netflix_titles.csv). - Map the columns from the CSV to the table columns in MySQL. You can let MySQL Workbench create a new table for you during the import process.
- Right-click on your database (schema) in the
One difficulty encountered during the import process was ensuring the correct data types for each column, especially for columns like date_added and release_year. It was necessary to adjust the data types to properly reflect the nature of the data.
One interesting observation about the Netflix Shows dataset is the diverse range of countries represented in the content available on Netflix. This highlights Netflix's global reach and diverse content library.
In the future, further analysis could be performed on this dataset, such as:
- Analyzing trends in content over the years.
- Examining the distribution of content ratings.
- Investigating the representation of different genres and countries.
Top 5 Countries:
The top 5 countries producing the most content on Netflix include the United States, India, the United Kingdom, Japan, and South Korea. This indicates a strong production base in these countries.
Top 5 Genres:
The top 5 genres with the most content on Netflix are International Movies, Dramas, Comedies, International TV Shows, and Documentaries. This shows a diverse range of popular genres on the platform.
Total Shows by Rating:
The top rating with the most shows on Netflix is TV-MA. This shows more adult content is on-demand and popular on the platform.
All the SQL queries and their results are documented in the SQL_Queries_and_Results.txt file.