Thanks to visit codestin.com
Credit goes to github.com

Skip to content

navs-svan/nba-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NBA 2024-25 Season Dashboard

This project automates the scraping of NBA 2024–25 season box scores from Basketball Reference and stores the raw data in a Google Cloud Storage bucket. The data is then transformed using dbt Core and loaded into Google BigQuery. From there, it is connected to Power BI to build interactive reports and dashboards.

The entire workflow is orchestrated using Apache Airflow, containerized with Docker, and deployed on Google Cloud Platform resources provisioned via Terraform.

Requirements

  • Docker
  • Terraform
  • Power BI
  • GCP Account

Usage

  1. Fill in the variables and rename accordingly:

  2. Run terraform commands inside of the terraform directory. These steps create the GCS and Bigquery infrastructure.

    • terraform init
    • terraform apply
  3. Run docker commands inside of the airflow directory. These steps set up the airflow orchestration inside docker.

    • docker compose build
    • docker compose up airflow-init
    • docker compose up -d
  4. Trigger the DAG

Visualization

A PowerBI report can be interacted with through this link. Several measures were created using complex DAX queries to create some of the more interesting visuals. Snapshots of the dashboard can be seen below.

Team Stats Overview Page

Page1-team_stats_overview

Team Raw Stats Page

Page2-team_raw_stats

Team Specific Stats Page

Page3-team_specific_stats

Player Stats Overview Page

Page4-player_stats_overview

Player Raw Stats Page

Page5-player_raw_stats

Player Specific Stats Page

Page6-player_specific_stats

Player History Stats Page

Page7-player_history_stats

Scatter Plot Correlation Page

Page8-scatter_plot

About

PowerBI Dashboard using scraped box score data of the NBA Season 2024-25

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published