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
Then we have done some data processing using Python libraries like pandas and re. By organising the data in Tableau, we tried to understand:
- Which country has how many players on the trending FIFA players website and what is the total value?
- Who are the top players in the trending sheet?
- PLayers of which age have good stats?
- Which players are ruling in the trending player's list?
- 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.
Player Performance Analysis in clubs:

- 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.
- 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.
- From the density graph, we can see that approximately players between 20-33 years old have better stats than others.
- 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:

- 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.
- From the graphical graph, we can find out each country's values and total number of players by their spatial position.
- From the last bar chart, we can see the same top player rankings but coloured concerning national teams.
- Clone the repository
git clone https://github.com/kavinh07/trending-FIFA-players.git- Initialize and activate the virtual environment
virtualenv --no-site-packages venv
source venv/bin/activate- Install dependencies
pip install -r requirements.txt- Run the fifa_players_scrapper.py
python trending-FIFA-players/scraper.py- You will get a file named
trending_football_players.xlsxcontaining all the required fields. Alternatively, check our scraped data trending_football_players.xlsx.