๐Ÿš€ Building a YouTube Content Intelligence Dashboard (SQL + Python + Power BI)

Tanmay SharmaTanmay Sharma
2 min read

YouTube is not just entertainment โ€” itโ€™s data gold. Every like, view, and comment tells a story. In this project, I built a YouTube Content Intelligence Platform using SQL, Python, and Power BI to uncover what drives engagement, subscriber growth, and video performance.


๐Ÿ”น Why This Project?

Content creators and businesses want to know:

  • Which videos drive the most views and engagement?

  • Whatโ€™s the best time to publish?

  • How do subscribers grow over time?

  • Which content generates likes vs comments vs shares?

Instead of guessing, I decided to answer these questions with data.


๐Ÿ”น Tools & Tech Stack

  • SQL (MySQL Workbench) โ†’ Structured YouTube API data into relational tables (channels, videos, comments).

  • Python โ†’ Data extraction (YouTube API), preprocessing, and potential ML forecasting.

  • Power BI โ†’ Built an interactive dashboard with KPIs, charts, and slicers.


๐Ÿ”น Data Model (Database Design)

I structured the project in 3 key tables:

  • Channels โ†’ Channel-level metadata (subscribers, total views).

  • Videos โ†’ Video-level data (views, likes, comments count, published date).

  • Comments โ†’ User-level engagement (author, comment, published date, likes).

This relational design made it easy to query trends.


๐Ÿ”น Sample SQL Queries

1. Top 10 Videos by Views

SELECT video_id, title, views
FROM videos
ORDER BY views DESC
LIMIT 10;

2. Engagement Rate (Likes-to-Views %)

SELECT 
    ROUND(SUM(likes)/SUM(views)*100, 2) AS Engagement_Rate
FROM videos;

These queries helped uncover top-performing videos and engagement efficiency.


๐Ÿ”น Dashboard Highlights (Power BI)

  • KPI Cards โ†’ Total Views, Likes, Comments, Subscribers

  • Donut Chart โ†’ % Mix of Likes, Comments, Shares

  • Engagement Funnel โ†’ Which videos drive more likes vs comments

  • Subscriber Growth KPI โ†’ Month-over-month trend (if available)

๐Ÿ“Š (Insert dashboard screenshot here)


๐Ÿ”น Key Insights

  • ๐Ÿ“Œ Top 10 videos accounted for 60% of total views.

  • ๐Ÿ“Œ Engagement Funnel showed some videos attract more likes, while others spark more comments.

  • ๐Ÿ“Œ Subscriber growth aligned strongly with video publishing frequency.


๐Ÿ”น Whatโ€™s Next?

  • Add NLP sentiment analysis on comments (Positive vs Negative vs Neutral).

  • Use ML models to forecast video views based on early engagement.

  • Scale this project into a recommendation engine for creators.


๐Ÿ”น Final Thoughts

This project was a complete data journey โ€” from raw API data to a business-ready BI dashboard. It combines the power of SQL (structuring), Python (processing), and Power BI (storytelling) to extract actionable insights from YouTube.

๐Ÿ‘‰ Full Project Code & Dashboard: [https://github.com/Tanu272004/YouTube-Performance-Engagement-Intelligence-]

1
Subscribe to my newsletter

Read articles from Tanmay Sharma directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Tanmay Sharma
Tanmay Sharma