This is a football player analytics dashboard developed using Flask and Chart.js. The dashboard provides insights into various aspects of football players, including ball control, passing under pressure, dribble skills, and physical stats. Users can view individual player stats, compare players, and analyze percentile rankings.
-
Clone the repository to your local machine
-
Install dependencies: pip install -r requirements.txt
-
Run the Flask application: python app.py
-
Access the dashboard in your web browser: http://localhost:5000/
app.py: Flask application file containing route definitions and data processing logic.static/: Directory containing static files (CSS, JavaScript, images).templates/: Directory containing HTML templates for rendering web pages.static/data/player_data.xlsx: Excel file containing player data.static/styles/style.css: CSS file for styling the dashboard.static/js/script.js: JavaScript file for client-side scripting.
- Flask
- pandas
- Chart.js
- Bootstrap
- The dashboard displays player statistics on the homepage.
- Users can search for specific players using the search bar.
- Players can be compared by entering the name of the second player in the comparison search bar.
- Additional insights and charts are available for analyzing player performance.
Renders a scatter plot chart comparing passing under pressure versus ball control for each player.
Renders a radar chart displaying various skills and physical stats of a single player, including dribble skills, BMI, passing under pressure, and ball control. Comparison between different players is also possible.
Renders a bar chart showing the mean dribble skills based on player height groups.
Renders player cards containing basic information, physical stats, and match stats for each player.
Renders a polar area chart displaying the skills and stats of a single player in percentiles rankings compared to other players which play in the same position.
- Data provided by Forward Football.
- Developed by Astitva.