Skip to content

FIFA dataset, analyzing top 10 countries with most players, Highest rated players, highest paid players etc Visualizations showcased player distribution, shooting skills, defending abilities, and club affiliations.

License

Notifications You must be signed in to change notification settings

im-nihal/FIFA-DataAnalysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FIFA Player Data Analysis

This repository contains Python code for analyzing FIFA player data and creating visualizations based on the data. The code is written in Jupyter Notebook and uses various libraries such as pandas, numpy, matplotlib, and seaborn.

Dataset

The code utilizes a dataset named "players_20.csv" which contains FIFA player data. The dataset includes information about players' nationality, club, wages, shooting skills, defending skills, and more.

Code Overview

The code performs the following tasks:

  1. Imports the required libraries for data analysis and visualization.
  2. Reads the FIFA player data from the CSV file into a pandas DataFrame.
  3. Displays basic information about the dataset such as the first few rows, shape, and column labels.
  4. Analyzes and plots the top 10 countries with the most players using line, bar, histogram, and scatter plots.
  5. Creates visualizations for the highest paid players and top-rated players for shooting and defending skills.
  6. Provides specific analysis and plots for the Real Madrid club, including the highest paid players and top-rated players for shooting and defending skills within the club.

Usage

To run the code and reproduce the visualizations, follow these steps:

  1. Make sure you have Python installed on your machine.
  2. Install the required libraries by running the following command: pip install pandas numpy matplotlib seaborn.
  3. Download the "players_20.csv" dataset and place it in the same directory as the Python code file.
  4. Open the Python code file in a Jupyter Notebook or a similar environment.
  5. Execute the code cells one by one to perform the analysis and create the visualizations.

I have explored the data with different graphs. Some of them as follows:

Line Plot

most-players-line-plot

Bar Plot

most-players-bar-plot

Histogram

most-players-hist-plot

Subplots

visualization

Plot with Legend

top5-highest-rated-defending

Feel free to modify the code according to your needs and experiment with different analyses and visualizations based on the FIFA player data.

License

This code is released under the MIT License.

Please note that the dataset used in this code may have its own license and terms of use. Make sure to review and comply with the dataset license and terms when using the provided code.


Disclaimer

The code provided is for educational and demonstration purposes only. It may not be suitable for production environments. Use it at your own risk.

About

FIFA dataset, analyzing top 10 countries with most players, Highest rated players, highest paid players etc Visualizations showcased player distribution, shooting skills, defending abilities, and club affiliations.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published