A Fantasy Premier League (FPL) dashboard which allows users to plot several key performance metrics such as xG, xA, and VAPM against each other which allows users to obtain key insights on the statistical indicators of top players in the Premier League (EPL).
Warning: The css might be buggy due in large part to css being applied to abstractions of HTML components, not the components themselves. The Dash development team recommends the use of the Dash Enterprise Design Kit for styling, but the FPL dashboard only uses open-source Dash due to budget constraints...
The FPL Dashboard is built on Dash, a data visualization tool for Python, which in turn is built on top of Flask, React.js, and Plotly.js under the hood.
The FPL Dashboard data was obtained using Python. The only 3rd party packages necessary are aiohttp and understat.
All project data is in the data
folder of the repo.
- Clone repository
git clone https://github.com/kyleschan/fpl.git
- Switch to project root directory
cd fpl
- Install requirements
pip install -r requirements.txt
- Run app on http://127.0.0.1:8050/
python app.py
- Deployed on Heroku via this Dash deployment tutorial.