/Tableau-Youtube-Videos-Analysis

Tableau-Youtube Trending Videos Analysis & its API

Primary LanguageJupyter Notebook

Tableau Project - YouTube Trending Videos of the USA (2006-2018)

Overview

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.

Project Highlights

  • 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.

Tools and Technologies

  • Tableau: Utilized for creating insightful visualizations and dashboards.
  • Python Pafy Library: Employed to interact with the YouTube API, extracting channel category information.

Data Analysis

Views Analysis

  • Investigated the popularity of trending videos based on the number of views.
  • Visualized trends over the years, months, and weeks to identify patterns.

Channel Categories

  • 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.

Temporal Trends

  • 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.

Usage

To replicate or extend this analysis, follow these steps:

  1. Open Tableau Workbook:

    • Open the Tableau workbook (Youtube_Analysis_Tableau.twb) to explore visualizations.
  2. Review Python Script:

    • Examine the Python script (Youtube_API.ipynb) for details on data extraction using the Pafy library.

Note

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