Post image

FIFA World Cup Analysis (1930 - 2018)

Project Description

Tools Used

Python, Streamlit, Pandas, Plotly, Webscraping, Jupyter Notebook, Pycharm

Data Sources :

Goal

The goal of the Project was to analyze the data of the FIFA World Cup data from 1930-2018. The First aim was to get the overall information of the World Cup. The Second aim was to get the information of the world cup for each year. The final goal was to get information on each country which participates in world cup.

Data Prepration

The data collection and cleaning was the first part. The code used for the data collection with the explanation is present here.

Data Analysis

The analysis was done in three parts. First overall analysis was done, then year-wise analysis was done and finally country-wise analysis was done. The differents parts of analysis are explained below.

Overall Analysis

The Overall Analysis was done to answer the following questions.

  • Total World Cup Events from 1930-2018

  • Total Participating countries and their names

  • How many times has a country won the World Cup?

  • How many goals has been scored each year from 1930-2018 ?

  • Which are the top 7 goal scoring countries ?

  • Who are top scoring Players ?

Year-Wise Analysis

The purpose of year-wise-analysis was to be able to get the statistics of the selected year. The question that are answered in this analysis are :

  • The year of world cup, the coutry hosting the world cup and total attendance of visitors in world cup.

  • Total Participating countries and their names

  • Who won the world cup, was first runner up and second runner up?

  • Which were Top 5 highest scoring countries ?

  • Who were top 5 highest scoring players ?

The stats for the year 1930 are shown below which answers the questions.

Country-Wise Analysis

The purpose of country-wise analysis was to be able to get the statistics of selected country. The question that were answered in this analysis are:

  • In how many world cups the country has participated ?

  • The years the country has participated in world cups ?

  • Total world cup wins, second positions and third positions ?

  • How many goals the country has scored in each year of participated world cup ?

  • Top scorers from that country in world cup.

The stats for Germany are shown below which answers the above questions

Hosting

The project was packaged into a web-application using Streamlit and can be found here.

The github code for the project can be found here.