NFLStatsDashboard
Plotly Dash App of the Month July 2024. Visualize NFL offense statistics from 2013 to 2023 in an interactive web dashboard.
Install / Use
/learn @Alfredomg7/NFLStatsDashboardREADME
NFL Offense Stats Dashboard

This project is a Dash application that visualizes NFL offense statistics. It includes interactive charts for player and team stats over multiple seasons, providing insights into various performance metrics.
Features
- Player Stats by Position: View statistics for Running Backs, Wide Receivers, Tight Ends, and Quarterbacks.
- Player Selection: Filter and visualize statistics for any player.
- Team Stats by Year: Analyze team performance metrics over different seasons.
- Offense Stats Distribution Histogram: Visualize the distribution of various offensive stats with a customizable histogram.
- Compare Offensive Stats Scatter Plot: Compare two different offensive stats across teams with a dynamic scatter plot.
- Interactive Visualizations: Use dropdowns and tabs to customize the data displayed in charts.
Installation
Prerequisites
- Python 3
Steps
-
Clone the repository:
git clone https://github.com/Alfredomg7/NFLOffenseStatsDashboard.git cd NFLOffenseStatsDashboard -
Install the dependencies:
pip install -r requirements.txt -
Run the dash web application:
python app.py
Project Structure
app.py: Main application module containing the Dash app setup and layout.utilities.py: Utility functions for data loading, formatting, and creating callbacks.config.py: Configuration module with lists of statistics and team colors.data/offense_yearly_data.csv: Dataset with NFL Offense Stats used for the dashboard.
Usage
- Run the application and open your browser to
http://127.0.0.1:8050. - Use the tabs and dropdowns to explore different player and team statistics.
Acknowledgements
- Dash by Plotly: https://dash.plotly.com/
- Bootstrap Components: https://dash-bootstrap-components.opensource.faculty.ai/
- Dataset: NFL Stats 1999-2022 by Funk Monarch on Kaggle
License
This project is for personal portfolio use and is not intended for commercial distribution. Feel free to explore and learn from the code, but please contact me if you wish to use it for other purposes.
Contributions
This project is part of my personal portfolio, and while I'm not actively seeking contributions, I welcome any feedback or suggestions. If you have ideas for improvements or encounter any issues, feel free to reach out to me. Your insights are greatly appreciated!
Related Skills
feishu-drive
342.0k|
things-mac
342.0kManage Things 3 via the `things` CLI on macOS (add/update projects+todos via URL scheme; read/search/list from the local Things database)
clawhub
342.0kUse the ClawHub CLI to search, install, update, and publish agent skills from clawhub.com
codebase-memory-mcp
1.1kHigh-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in milliseconds. 66 languages, sub-ms queries, 99% fewer tokens. Single static binary, zero dependencies.
