Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

License

NHL Analytics Dashboard Banner

πŸ’ NHL Analytics Dashboard

Interactive Exploratory Data Analysis Dashboard for National Hockey League (NHL) Player & Team Performance

Python

Streamlit

Pandas

Matplotlib

Seaborn

MIT License


πŸ“Œ Project Overview

The NHL Analytics Dashboard is an interactive data visualization application developed using Python and Streamlit to analyze player and team performance in the National Hockey League (NHL).

The dashboard enables users to explore NHL statistics through interactive filters, performance metrics, and professional visualizations. It supports exploratory data analysis (EDA), making it easier to identify scoring trends, player efficiency, team performance, and statistical relationships.


πŸš€ Live Dashboard

🌐 Streamlit Deployment

https://nhl-analytics-dashboard-enwsdpzf6qxpp29rfp5taf.streamlit.app/


✨ Key Features

  • Interactive Streamlit Dashboard
  • Dynamic Sidebar Filters
  • CSV File Upload Support
  • Search by Player Name or Player ID
  • KPI Summary Cards
  • Dataset Quality Summary
  • Top Goal Scorers Analysis
  • Shots vs Goals Analysis
  • Shot-to-Goal Conversion Rate
  • Correlation Heatmap
  • Position Distribution Analysis
  • Top Teams by Points
  • Goals Distribution Analysis
  • Goals by Position (Box Plot)
  • Team Performance Summary
  • Download Filtered Dataset
  • Responsive User Interface

πŸ“Š Dashboard Preview Project Banner

Dashboard Home

Top Goal Scorers Analysis

Correlation Heatmap

Position Distribution

Team Performance Summary

Goals Distribution


πŸ“ˆ Dashboard Functionalities

The dashboard provides comprehensive Exploratory Data Analysis through the following visualizations:

πŸ“Œ KPI Cards

  • Total Players
  • Total Teams
  • Average Goals
  • Highest Goals

πŸ“Œ Dataset Summary

  • Total Rows
  • Total Columns
  • Missing Values
  • Duplicate Records

πŸ“Œ Interactive Filters

  • Team Selection
  • Position Selection
  • Season Selection
  • Goals Range
  • Player Search
  • Player ID Search

πŸ“Œ Visualizations

  • Top Goal Scorers
  • Shots vs Goals Scatter Plot
  • Correlation Heatmap
  • Position Distribution
  • Top Teams by Points
  • Goals Distribution
  • Goals by Position Box Plot

πŸ“Œ Additional Features

  • CSV Upload Support
  • Team Performance Summary Table
  • Download Filtered Dataset

πŸ› οΈ Technology Stack

Technology Purpose
Python Programming Language
Streamlit Interactive Dashboard Development
Pandas Data Processing & Analysis
Matplotlib Data Visualization
Seaborn Statistical Visualization

πŸ“‚ Dataset

The dashboard uses NHL player statistics from:

data/skaters.csv

The dataset includes:

  • Player Name
  • Player ID
  • Team
  • Season
  • Position
  • Goals
  • Points
  • Shots on Goal
  • Hits
  • Games Played
  • Game Score

πŸ“ Project Structure

dashboard_project/
β”‚
β”œβ”€β”€ app.py
β”œβ”€β”€ requirements.txt
β”œβ”€β”€ README.md
β”œβ”€β”€ LICENSE
β”œβ”€β”€ .gitignore
β”‚
β”œβ”€β”€ data/
β”‚   └── skaters.csv
β”‚
β”œβ”€β”€ images/
β”‚   β”œβ”€β”€ banner.png
β”‚   β”œβ”€β”€ dashboard_home.png
β”‚   β”œβ”€β”€ top_goal_scorers.png
β”‚   β”œβ”€β”€ heatmap.png
β”‚   β”œβ”€β”€ position_distribution.png
β”‚   β”œβ”€β”€ team_summary.png
β”‚   └── goals_distribution.png
β”‚
└── notebooks/
    └── analysis.ipynb

βš™οΈ Installation

Clone the repository:

git clone https://github.com/Faran70177784/dashboard_project.git

Navigate to the project:

cd dashboard_project

Install dependencies:

pip install -r requirements.txt

Run the application:

streamlit run app.py

πŸ”„ Dashboard Workflow

NHL Dataset
      β”‚
      β–Ό
Data Loading
      β”‚
      β–Ό
Data Filtering
      β”‚
      β–Ό
Exploratory Data Analysis
      β”‚
      β–Ό
Interactive Visualizations
      β”‚
      β–Ό
Performance Insights
      β”‚
      β–Ό
Download Filtered Dataset

🎯 Future Improvements

  • Support Multiple Sports Datasets
  • Advanced Player Comparison
  • Team Performance Prediction
  • Machine Learning Integration
  • Real-Time NHL API Support
  • Interactive Maps
  • Advanced Statistical Analytics
  • Export Dashboard Reports (PDF)

πŸ‘¨β€πŸ’» Developer

Syed Faran Ali

BS Robotics & Artificial Intelligence

University of Lahore

GitHub: https://github.com/Faran70177784


πŸ“„ License

This project is licensed under the MIT License.

See the LICENSE file for more information.


⭐ If you found this project helpful, consider giving it a Star on GitHub!

About

Interactive NHL Analytics Dashboard built with Streamlit, Pandas, Matplotlib, and Seaborn for player and team performance analysis.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages