Skip to content

Repository files navigation

Alex Hormozi - YouTube Channel Data Analysis

Who is Alex Hormozi?

Cover Image

Alex Hormozi is an American entrepreneur, investor, author, and internet personality best known for building and scaling businesses—especially in the fitness and online marketing space.

Project Introduction

This project analyzes the YouTube channel of Alex Hormozi using data collected via the YouTube Data API (googleapiclient). It explores content performance, growth trends, and audience behavior across time. The analysis highlights key factors such as posting consistency, timing, and engagement patterns that drive channel growth.

The dataset includes:

  • Over 4,600 videos
  • 935M+ total views
  • Approximately 4M subscribers

Data Collection Methodology

The data for this project was collected using the YouTube Data API v3 through Python, utilizing the googleapiclient library.

Steps Involved

  1. API Setup

    • Created a project in Google Cloud Console
    • Enabled the YouTube Data API v3
    • Generated an API key for authentication
  2. Connecting to the API

from googleapiclient.discovery import build

api_key = "YOUR_API_KEY"
youtube = build('youtube', 'v3', developerKey=api_key)
  1. Extracting Channel Data

    • Retrieved channel details such as total subscribers and uploads playlist ID
  2. Fetching Video Data

    • Used the playlistItems endpoint to get all video IDs
    • Iterated through pagination to collect the complete dataset
  3. Collecting Video Statistics

    • Used the videos endpoint to extract:

      • Views
      • Likes
      • Published date
  4. Data Processing

    • Stored the data in structured format (Pandas DataFrame / CSV)
    • Cleaned and transformed fields (dates, metrics) for analysis

Key Areas of Analysis

  • Yearly Growth Trends in views and content output

  • Top Content Videos based on views and likes

  • Publishing Patterns Across hours, days, and months

  • Recent Uploads Performance for short-term insights

Analysis Report

Dashboard

Dashboard

Top Videos by Views

The channel shows a skewed performance distribution where a few breakout videos exceed 8M views, while the majority of top content consistently performs in the 3–6M range.

Top Videos by Views

  • Performance is uneven → A small number of videos drive a large share of total views

  • Baseline vs breakout → ~3–6M views = strong, repeatable performance → 8M+ views = exceptional (not consistent)

  • Consistency > virality → The channel doesn’t rely on one viral hit → It wins through many moderately high-performing videos


Views by Years

Channel growth accelerated rapidly between 2021 and 2024, followed by a declining trend indicating a shift in engagement.

Views by Year

  • Explosive growth phase (2021–2024) → This is where the channel scaled aggressively

  • Peak reached in 2024 → Highest yearly performance (~289M views)

  • Clear decline after peak → Drop starts in 2025 and continues into 2026 (March)


Videos & Views by Month

Seasonal factors and audience behavior have a stronger impact on views than posting volume at the monthly level.

Views by Month

Views by Month

  • More videos ≠ more views → March has the most uploads (582) but is not the highest in views

  • Best performance months → December & January generate maximum views without highest uploads

  • Weak period → August–September shows clear drop in views despite steady uploads


About

This project analyzes the YouTube channel of Alex Hormozi using data collected via the YouTube Data API (googleapiclient). It explores content performance, growth trends, and audience behavior across time.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages