This Tableau project focuses on analyzing YouTube trending videos in the USA from 2006 to 2018. The analysis delves into the number of views, categories of the channels, and trends on an annual, monthly, and weekly basis. To enhance the data extraction process, the Pafy YouTube API in Python was utilized for retrieving information about the categories of each channel.
- Timeframe: 2006 to 2018
- Scope: USA YouTube trending videos
- Analysis:
- Views: Examined the number of views for each trending video.
- Channel Categories: Extracted information about the categories of YouTube channels.
- Trends: Analyzed trends annually, monthly, and weekly.
- Tableau: Utilized for creating insightful visualizations and dashboards.
- Python Pafy Library: Employed to interact with the YouTube API, extracting channel category information.
- Investigated the popularity of trending videos based on the number of views.
- Visualized trends over the years, months, and weeks to identify patterns.
- Leveraged the Pafy YouTube API to extract categories of YouTube channels associated with trending videos.
- Mapped and analyzed the distribution of videos across different categories.
- Annual Trends: Explored the popularity of trending videos on a yearly basis.
- Monthly Trends: Examined variations in trends month by month.
- Weekly Trends: Investigated short-term patterns within weekly intervals.
To replicate or extend this analysis, follow these steps:
-
Open Tableau Workbook:
- Open the Tableau workbook (
Youtube_Analysis_Tableau.twb
) to explore visualizations.
- Open the Tableau workbook (
-
Review Python Script:
- Examine the Python script (
Youtube_API.ipynb
) for details on data extraction using the Pafy library.
- Examine the Python script (
Ensure compliance with YouTube API terms of service and guidelines when using the Pafy library for data extraction. Respect copyright and usage policies for YouTube content.
Feel free to contribute, suggest improvements, or adapt the project for your specific needs.
Happy analyzing!
Author: Muzammil Mushtaq