# tasleem595/fifa_analysis_project architecture

> Architecture diagram of the GitHub repository tasleem595/fifa_analysis_project, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-02). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/tasleem595/fifa_analysis_project
- Repository: https://github.com/tasleem595/fifa_analysis_project

## Overview

This is a Streamlit FIFA player analytics app. Users choose an analysis page or enter player attributes; the app presents dataset cleaning, exploratory and statistical analyses, regression results, or a predicted player rating. The sampled source shows these capabilities in one large file, not separate runtime modules. Page names and prediction controls are visible, but the excerpts do not show the full page dispatch or dataset-loading code, so those relationships are left unverified.

Main entry points: [`app.py`](https://github.com/tasleem595/fifa_analysis_project/blob/main/app.py) (Streamlit App), [`fifa_cleaned.csv`](https://github.com/tasleem595/fifa_analysis_project/blob/main/fifa_cleaned.csv) (FIFA Dataset)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interface["Application"]
  node_app["Streamlit App<br/>[app.py]"]
end

subgraph group_analysis["Player Analytics"]
  node_dataset["FIFA Dataset<br/>[fifa_cleaned.csv]"]
  node_cleaning["Data Cleaning<br/>[app.py]"]
  node_overview["Player Overview<br/>[app.py]"]
  node_eda["Exploratory Analysis<br/>[app.py]"]
  node_correlation["Correlation Analysis<br/>[app.py]"]
  node_distributions["Distributions<br/>[app.py]"]
end

subgraph group_modeling["Rating Models"]
  node_regression["Regression Analysis<br/>[app.py]"]
  node_prediction["Player Prediction<br/>[app.py]"]
end

node_user(("Analyst"))

node_user -->|"uses"| node_app
node_app -.->|"offers page"| node_cleaning
node_app -.->|"offers page"| node_overview
node_app -.->|"offers page"| node_eda
node_app -.->|"offers page"| node_correlation
node_app -.->|"offers page"| node_distributions
node_app -.->|"offers page"| node_regression
node_app -.->|"offers page"| node_prediction
node_app -.->|"loads data"| node_dataset

click node_app "https://github.com/tasleem595/fifa_analysis_project/blob/main/app.py"
click node_dataset "https://github.com/tasleem595/fifa_analysis_project/blob/main/fifa_cleaned.csv"
click node_cleaning "https://github.com/tasleem595/fifa_analysis_project/blob/main/app.py"
click node_overview "https://github.com/tasleem595/fifa_analysis_project/blob/main/app.py"
click node_eda "https://github.com/tasleem595/fifa_analysis_project/blob/main/app.py"
click node_correlation "https://github.com/tasleem595/fifa_analysis_project/blob/main/app.py"
click node_distributions "https://github.com/tasleem595/fifa_analysis_project/blob/main/app.py"
click node_regression "https://github.com/tasleem595/fifa_analysis_project/blob/main/app.py"
click node_prediction "https://github.com/tasleem595/fifa_analysis_project/blob/main/app.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_app toneBlue
class node_dataset,node_cleaning,node_overview,node_eda,node_correlation,node_distributions toneAmber
class node_regression,node_prediction toneMint
class node_user toneIndigo
```

## Components

### Application

- [Streamlit App](https://github.com/tasleem595/fifa_analysis_project/blob/main/app.py): `app.py`

### Player Analytics

- [FIFA Dataset](https://github.com/tasleem595/fifa_analysis_project/blob/main/fifa_cleaned.csv): `fifa_cleaned.csv`
- [Data Cleaning](https://github.com/tasleem595/fifa_analysis_project/blob/main/app.py): `app.py`
- [Player Overview](https://github.com/tasleem595/fifa_analysis_project/blob/main/app.py): `app.py`
- [Exploratory Analysis](https://github.com/tasleem595/fifa_analysis_project/blob/main/app.py): `app.py`
- [Correlation Analysis](https://github.com/tasleem595/fifa_analysis_project/blob/main/app.py): `app.py`
- [Distributions](https://github.com/tasleem595/fifa_analysis_project/blob/main/app.py): `app.py`

### Rating Models

- [Regression Analysis](https://github.com/tasleem595/fifa_analysis_project/blob/main/app.py): `app.py`
- [Player Prediction](https://github.com/tasleem595/fifa_analysis_project/blob/main/app.py): `app.py`

### Other components

- **Analyst**

## Connections

- Analyst → Streamlit App: uses (evidence: `app.py`)
- Streamlit App → Data Cleaning: offers page (evidence: `app.py`)
- Streamlit App → Player Overview: offers page (evidence: `app.py`)
- Streamlit App → Exploratory Analysis: offers page (evidence: `app.py`)
- Streamlit App → Correlation Analysis: offers page (evidence: `app.py`)
- Streamlit App → Distributions: offers page (evidence: `app.py`)
- Streamlit App → Regression Analysis: offers page (evidence: `app.py`)
- Streamlit App → Player Prediction: offers page (evidence: `app.py`)
- Streamlit App → FIFA Dataset: loads data
