Skip to content

Plotly Dash App of the Month July 2024. Visualize NFL offense statistics from 2013 to 2023 in an interactive web dashboard.

Notifications You must be signed in to change notification settings

Alfredomg7/NFLStatsDashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NFL Offense Stats Dashboard

Dashboard preview

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

  1. Clone the repository:

    git clone https://github.com/Alfredomg7/NFLOffenseStatsDashboard.git
    cd NFLOffenseStatsDashboard
  2. Install the dependencies:

    pip install -r requirements.txt
  3. 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

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!

About

Plotly Dash App of the Month July 2024. Visualize NFL offense statistics from 2013 to 2023 in an interactive web dashboard.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages