Skip to content

Latest commit

 

History

History
53 lines (27 loc) · 1.86 KB

README.md

File metadata and controls

53 lines (27 loc) · 1.86 KB

NBA 2024-25 Season Dashboard

This project scrapes NBA 2024-25 Season boxscores from Basketball Reference and stores it into a local Postgres database. The scraping script and postgres database is containerized using Docker.

Usage

  1. Set up Docker Desktop

  2. Run the command mv dev.env .env and fill in the necessary variables

  3. Build the containers using the command docker compose build

  4. Run the containers using the command docker compose up -d

    • Each time the containers start, the script scrapes boxscore data from Basketball Reference
  5. To have the latest data, run the command docker compose start or start the containers through the Docker Desktop application

Visualization

A PowerBI dashboard was created which 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