# harshmohite-05/ev-population-data-analysis architecture

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

- Interactive diagram: https://gitdiagram.com/harshmohite-05/ev-population-data-analysis
- Repository: https://github.com/harshmohite-05/ev-population-data-analysis

## Overview

This is an EV-population analytics project: a Python script prepares and explores the data, and a Power BI dashboard presents business insights. The README documents the raw-to-clean-to-dashboard workflow and dashboard topics. The script excerpt confirms cleaning and exploratory calculations, but its input and output filenames differ from the tracked CSV filenames; those links therefore reflect the README’s documented workflow, not verified file-level I/O.

Main entry points: [`data/clean.csv`](https://github.com/harshmohite-05/ev-population-data-analysis/blob/main/data/clean.csv) (Clean EV Data), [`notebook/ev_population_data_cleaning.py`](https://github.com/harshmohite-05/ev-population-data-analysis/blob/main/notebook/ev_population_data_cleaning.py) (Cleaning Script), [`data/raw.csv`](https://github.com/harshmohite-05/ev-population-data-analysis/blob/main/data/raw.csv) (Raw EV Data), [`powerbi/Electric Vehicle Population Dashboard.pbix`](https://github.com/harshmohite-05/ev-population-data-analysis/blob/main/powerbi/Electric%20Vehicle%20Population%20Dashboard.pbix) (Adoption Trends)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_preparation["Data Preparation"]
  node_raw_data[("Raw EV Data<br/>[raw.csv]")]
  node_python_workflow["Cleaning Script"]
  node_clean_data[("Clean EV Data<br/>[clean.csv]")]
end

subgraph group_analysis["Exploratory Analysis"]
  node_year_trends["Adoption Trends"]
  node_manufacturer_mix["Manufacturer Mix"]
  node_range_by_brand["Range by Brand"]
  node_cafv_eligibility["CAFV Eligibility"]
end

subgraph group_dashboard["Power BI Dashboard"]
  node_powerbi_dashboard["Interactive Dashboard"]
end

node_analyst(("Analyst"))

node_raw_data -->|"documents input"| node_python_workflow
node_python_workflow -->|"documents export"| node_clean_data
node_clean_data -->|"informs"| node_year_trends
node_clean_data -->|"informs"| node_manufacturer_mix
node_clean_data -->|"informs"| node_range_by_brand
node_clean_data -->|"informs"| node_cafv_eligibility
node_analyst -->|"explores"| node_powerbi_dashboard

click node_raw_data "https://github.com/harshmohite-05/ev-population-data-analysis/blob/main/data/raw.csv"
click node_python_workflow "https://github.com/harshmohite-05/ev-population-data-analysis/blob/main/notebook/ev_population_data_cleaning.py"
click node_clean_data "https://github.com/harshmohite-05/ev-population-data-analysis/blob/main/data/clean.csv"
click node_year_trends "https://github.com/harshmohite-05/ev-population-data-analysis/blob/main/powerbi/Electric%20Vehicle%20Population%20Dashboard.pbix"
click node_manufacturer_mix "https://github.com/harshmohite-05/ev-population-data-analysis/blob/main/powerbi/Electric%20Vehicle%20Population%20Dashboard.pbix"
click node_range_by_brand "https://github.com/harshmohite-05/ev-population-data-analysis/blob/main/powerbi/Electric%20Vehicle%20Population%20Dashboard.pbix"
click node_cafv_eligibility "https://github.com/harshmohite-05/ev-population-data-analysis/blob/main/powerbi/Electric%20Vehicle%20Population%20Dashboard.pbix"
click node_powerbi_dashboard "https://github.com/harshmohite-05/ev-population-data-analysis/blob/main/powerbi/Electric%20Vehicle%20Population%20Dashboard.pbix"

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_raw_data,node_python_workflow,node_clean_data toneBlue
class node_year_trends,node_manufacturer_mix,node_range_by_brand,node_cafv_eligibility toneAmber
class node_powerbi_dashboard toneMint
class node_analyst toneIndigo
```

## Components

### Data Preparation

- [Raw EV Data](https://github.com/harshmohite-05/ev-population-data-analysis/blob/main/data/raw.csv): `data/raw.csv`
- [Cleaning Script](https://github.com/harshmohite-05/ev-population-data-analysis/blob/main/notebook/ev_population_data_cleaning.py): `notebook/ev_population_data_cleaning.py`
- [Clean EV Data](https://github.com/harshmohite-05/ev-population-data-analysis/blob/main/data/clean.csv): `data/clean.csv`

### Exploratory Analysis

- [Adoption Trends](https://github.com/harshmohite-05/ev-population-data-analysis/blob/main/powerbi/Electric%20Vehicle%20Population%20Dashboard.pbix): `powerbi/Electric Vehicle Population Dashboard.pbix`
- [Manufacturer Mix](https://github.com/harshmohite-05/ev-population-data-analysis/blob/main/powerbi/Electric%20Vehicle%20Population%20Dashboard.pbix): `powerbi/Electric Vehicle Population Dashboard.pbix`
- [Range by Brand](https://github.com/harshmohite-05/ev-population-data-analysis/blob/main/powerbi/Electric%20Vehicle%20Population%20Dashboard.pbix): `powerbi/Electric Vehicle Population Dashboard.pbix`
- [CAFV Eligibility](https://github.com/harshmohite-05/ev-population-data-analysis/blob/main/powerbi/Electric%20Vehicle%20Population%20Dashboard.pbix): `powerbi/Electric Vehicle Population Dashboard.pbix`

### Power BI Dashboard

- [Interactive Dashboard](https://github.com/harshmohite-05/ev-population-data-analysis/blob/main/powerbi/Electric%20Vehicle%20Population%20Dashboard.pbix): `powerbi/Electric Vehicle Population Dashboard.pbix`

### Other components

- **Analyst**

## Connections

- Raw EV Data → Cleaning Script: documents input (evidence: `README.md`)
- Cleaning Script → Clean EV Data: documents export (evidence: `README.md`)
- Clean EV Data → Adoption Trends: informs (evidence: `README.md`)
- Clean EV Data → Manufacturer Mix: informs (evidence: `README.md`)
- Clean EV Data → Range by Brand: informs (evidence: `README.md`)
- Clean EV Data → CAFV Eligibility: informs (evidence: `README.md`)
- Analyst → Interactive Dashboard: explores (evidence: `README.md`)
