Skip to content

Fahdalgahmi/world-cup-analytics-platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

World Cup Analytics Platform

A full-stack sports analytics dashboard that analyzes historical FIFA World Cup data and provides team rankings, match statistics, visualizations, and team comparisons through an interactive web interface.

Live Demo

Frontend: https://world-cup-analytics-platform.vercel.app/

Backend API: https://world-cup-analytics-api.onrender.com

Features

  • View total World Cup matches, goals, and average goals per match
  • Explore historical FIFA World Cup match data
  • Team rankings based on points and goal difference
  • Search individual team performance
  • Compare two teams side-by-side
  • Interactive goals ranking chart
  • Responsive user interface
  • REST API powered by FastAPI
  • Cloud deployment using Render and Vercel

Dataset

This project uses 972 historical FIFA World Cup matches extracted from a larger international football dataset containing over 49,000 matches.

Data includes:

  • Home Team
  • Away Team
  • Match Scores
  • Tournament
  • Match Date
  • Country
  • City
  • Neutral Venue Indicator

Technologies Used

Backend

  • Python
  • FastAPI
  • Pandas
  • Requests
  • REST APIs

Frontend

  • HTML
  • CSS
  • JavaScript
  • Chart.js

Deployment

  • Render
  • Vercel

Version Control

  • Git
  • GitHub

Project Structure

world_cup_analytics/

├── backend/ │ ├── main.py │ └── requirements.txt │ ├── data/ │ └── results.csv │ ├── frontend/ │ ├── index.html │ ├── style.css │ └── script.js │ └── README.md

API Endpoints

Endpoint Description
/ API status
/stats Tournament statistics
/matches Match dataset
/teams Team statistics
/team/{team_name} Individual team details
/rankings Team rankings
/world-cup-count Total World Cup matches

Key Metrics

  • 972 FIFA World Cup matches
  • 2,739 total goals
  • 2.82 average goals per match
  • Historical tournament coverage across multiple World Cup editions

Future Improvements

  • Knockout stage analysis
  • Interactive filters by tournament year
  • Team performance trends
  • Player statistics integration
  • Predictive match analytics
  • Additional international competitions

Author

Fahd Algahmi

Computer Science Graduate

Passionate about Software Development, Data Analytics, and Building Real-World Solutions.

Releases

No releases published

Packages

 
 
 

Contributors