Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📊 YouTube Tech vs Sports Analytics Dashboard

Uncovering what drives channel growth across two very different content worlds

Python SQL Power BI Jupyter License


📌 Overview

This project takes a data-driven look at how Tech and Sports channels perform on YouTube. Using Python for cleaning and exploration, SQL for structured analysis, and Power BI for interactive visualization, it compares the two categories across subscribers, views, and video output — turning raw channel data into clear, actionable business insights.

Whether you're a data analyst exploring the pipeline or a recruiter skimming for skills, this repo demonstrates a complete end-to-end analytics workflow: raw data → cleaning → EDA → SQL → dashboard → insights.


🧭 Table of Contents


🎯 Objectives

  • 🧹 Clean and preprocess multiple raw YouTube datasets
  • 🔍 Perform Exploratory Data Analysis (EDA) to uncover patterns
  • 🗄️ Analyze channel performance using structured SQL queries
  • 📊 Build an interactive, decision-ready Power BI dashboard
  • 💡 Translate findings into clear business insights

📂 Dataset

Dataset Description
Tech Channels Channel-level metadata for top tech creators
Tech Videos Video-level statistics for tech channels
Sports Channels Channel-level metadata for top sports creators

Raw data lives in data/raw/, cleaned outputs are saved to data/cleaned/.


🛠️ Tools & Technologies

Category Stack
Language Python
Data Handling Pandas, NumPy
Visualization Matplotlib, Power BI
Database SQLite, SQL
Environment Jupyter Notebook, VS Code

🧹 Data Cleaning

Every dataset was put through a consistent preprocessing pipeline before analysis:

  • ✅ Removed duplicate records
  • ✅ Handled missing values
  • ✅ Converted and standardized date columns
  • ✅ Standardized column naming conventions
  • ✅ Corrected inconsistent data types
  • ✅ Exported cleaned, analysis-ready datasets

📈 Exploratory Data Analysis

Key questions explored through Python-based EDA:

  • 🏆 Which channels lead in subscribers?
  • 👀 Which channels lead in total views?
  • 📊 How are subscribers distributed across each category?
  • 🎥 What do video-count statistics reveal?
  • 🔗 How correlated are subscribers, views, and video count?
  • ⚖️ How does Tech stack up against Sports overall?

🗄️ SQL Analysis

17 SQL queries were written to dig into channel performance from every angle, including:

  • Top-performing channels by subscribers and views
  • Average subscriber counts by category
  • Country-wise channel breakdowns
  • Video count and upload statistics
  • Channel rankings and aggregate performance metrics

All queries are available in the sql/ directory, executed against a local SQLite database.


📊 Power BI Dashboard

An interactive dashboard was built to make the analysis explorable at a glance:

  • 🔢 KPI Cards — subscribers, views, and video counts at a glance
  • 🏅 Top 10 Tech Channels — ranked performance view
  • ⚖️ Tech vs Sports Comparison — side-by-side category breakdown
  • 🔬 Scatter Plot Analysis — subscribers vs. views correlation
  • 🎚️ Interactive Slicers — filter by category, country, and more
  • 💬 Business Insights Panel — key takeaways embedded in the dashboard

💡 Key Business Insights

🏟️ Sports channels collectively command a far larger subscriber base than tech channels — reflecting sports' broader, mainstream appeal.

🎯 A small number of tech channels drive a disproportionate share of total tech subscribers — the category is more concentrated at the top.

📈 Higher subscriber counts generally track with higher total views, reinforcing subscriber count as a solid proxy for reach.

👥 Sports content attracts broader, more general audiences, while tech content serves a smaller but highly engaged niche community.


📁 Project Structure

youtube_data_analysis_project/
│
├── dashboard/            # Power BI (.pbix) dashboard file
├── data/
│   ├── raw/              # Original, unprocessed datasets
│   └── cleaned/          # Cleaned, analysis-ready datasets
├── images/               # Dashboard screenshots & visual assets
├── notebooks/            # Jupyter notebooks for cleaning & EDA
├── sql/                  # SQL scripts and queries
├── README.md
├── requirements.txt
└── LICENSE

📸 Dashboard Preview

Dashboard


🚀 How to Run

# 1. Clone the repository
git clone https://github.com/<your-username>/youtube_data_analysis_project.git
cd youtube_data_analysis_project

# 2. Install dependencies
pip install -r requirements.txt

# 3. Open the notebooks
jupyter notebook notebooks/

# 4. Explore the dashboard
# Open dashboard/*.pbix in Power BI Desktop

🔮 Future Improvements

  • 🔌 Integrate the live YouTube Data API for real-time metrics
  • 🔄 Automate scheduled data refresh and updates
  • 🤖 Build predictive models to forecast channel growth
  • ☁️ Deploy the dashboard online for public access

👩‍💻 Author

Vaishnavi Wangalwar

If you found this project useful or interesting, consider ⭐ starring the repo!

About

YouTube Tech vs Sports Analytics Dashboard using Python, SQL, SQLite and Power BI

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages