Skip to content

kavinh07/Trending-FIFA-Players

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trending FIFA Players

This is a trending FIFA player's data analysis project where we have done web scraping using selenium from this website. We scrapped 3000 trending FIFA players' data and stored them in an Excel sheet. There are 12 columns as given:

  • Player_name
  • Images
  • Age
  • National_team
  • Positions
  • Overall
  • Potential_overall
  • Current_club
  • Current_contract
  • Value
  • Wage
  • Total_stats

Problem statements

Then we have done some data processing using Python libraries like pandas and re. By organising the data in Tableau, we tried to understand:

  1. Which country has how many players on the trending FIFA players website and what is the total value?
  2. Who are the top players in the trending sheet?
  3. PLayers of which age have good stats?
  4. Which players are ruling in the trending player's list?
  5. Top clubs having the most valued players in the trending list?

You can visit the Tableau Public dashboards Player Performance Analysis in clubs and Player Performance Analysis in national teams to see the analysis.

Findings and Observations from the Dashboard

Player Performance Analysis in clubs: Player Performance Analysis in clubs image

  1. From the bar chart, we can see the top 20 players according to their overalls. They are in different colours in respect of their current clubs.
  2. From the pie chart, we find out that Real Madrid has the most valuable players. And also the other clubs and their values that are on the top list.
  3. From the density graph, we can see that approximately players between 20-33 years old have better stats than others.
  4. The bubble graph shows the top 20 young players (18-25 years old) and their value comparison. They are also coloured according to their current clubs.

Player Performance Analysis in national teams: Player Performance Analysis in national teams

  1. From the first bar chart, we can see that Spain has the most value and England has the most number of players. The bar chart shows the national team rankings by the total value in the trending list. It also shows the total number of players on the list.
  2. From the graphical graph, we can find out each country's values and total number of players by their spatial position.
  3. From the last bar chart, we can see the same top player rankings but coloured concerning national teams.

Build From Sources and Run the Selenium Scraper

  1. Clone the repository
git clone https://github.com/kavinh07/trending-FIFA-players.git
  1. Initialize and activate the virtual environment
virtualenv --no-site-packages  venv
source venv/bin/activate
  1. Install dependencies
pip install -r requirements.txt
  1. Run the fifa_players_scrapper.py
python trending-FIFA-players/scraper.py
  1. You will get a file named trending_football_players.xlsx containing all the required fields. Alternatively, check our scraped data trending_football_players.xlsx.

About

Data analysis of trending FIFA players. Data was collected using web scraping by selenium and visualized by Tableau. Our Tableau link is attached below:

Topics

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors