# vikrambtech2025-png/auto-eda-dashboard architecture

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

- Interactive diagram: https://gitdiagram.com/vikrambtech2025-png/auto-eda-dashboard
- Repository: https://github.com/vikrambtech2025-png/auto-eda-dashboard

## Overview

Auto EDA Dashboard is a web application for uploading structured datasets and exploring generated reports. Its main workflow runs from the dashboard through FastAPI upload handling, file loading and profiling, then persistent report storage and display. The README also documents history, JSON export, quality checks, summaries, correlations, and visualizations. The sampled backend shows route-to-analysis and route-to-database calls; some frontend/template wiring is described only in the README, so those links cite it.

Main entry points: [`app/main.py`](https://github.com/vikrambtech2025-png/auto-eda-dashboard/blob/main/app/main.py) (FastAPI routes), [`app/static/app.js`](https://github.com/vikrambtech2025-png/auto-eda-dashboard/blob/main/app/static/app.js) (Dashboard interactions), [`app/eda.py`](https://github.com/vikrambtech2025-png/auto-eda-dashboard/blob/main/app/eda.py) (Dataset profiling), [`app/templates/index.html`](https://github.com/vikrambtech2025-png/auto-eda-dashboard/blob/main/app/templates/index.html) (Dashboard UI)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Web dashboard"]
  node_dashboard["Dashboard UI<br/>[index.html]"]
  node_browser["Dashboard interactions<br/>[app.js]"]
end

subgraph group_backend["API and analysis"]
  node_api["FastAPI routes<br/>[main.py]"]
  node_configuration["Upload configuration<br/>[config.py]"]
  node_eda["Dataset profiling<br/>[eda.py]"]
  node_quality["Quality and summaries<br/>[eda.py]"]
  node_correlations["Correlations and charts<br/>[eda.py]"]
end

subgraph group_persistence["Dataset persistence"]
  node_file_store["Uploaded datasets"]
  node_history[("History and reports<br/>[db.py]")]
end

node_user(("Dataset user"))

node_user -->|"uses"| node_dashboard
node_dashboard -->|"hosts"| node_browser
node_browser -->|"requests reports"| node_api
node_api -->|"renders"| node_dashboard
node_api -->|"uses settings"| node_configuration
node_api -->|"writes uploads"| node_file_store
node_api -->|"loads and profiles"| node_eda
node_api -->|"stores and retrieves"| node_history
node_eda -->|"computes"| node_quality
node_eda -->|"computes"| node_correlations
node_browser -->|"refreshes history"| node_history

click node_dashboard "https://github.com/vikrambtech2025-png/auto-eda-dashboard/blob/main/app/templates/index.html"
click node_browser "https://github.com/vikrambtech2025-png/auto-eda-dashboard/blob/main/app/static/app.js"
click node_api "https://github.com/vikrambtech2025-png/auto-eda-dashboard/blob/main/app/main.py"
click node_configuration "https://github.com/vikrambtech2025-png/auto-eda-dashboard/blob/main/app/config.py"
click node_eda "https://github.com/vikrambtech2025-png/auto-eda-dashboard/blob/main/app/eda.py"
click node_quality "https://github.com/vikrambtech2025-png/auto-eda-dashboard/blob/main/app/eda.py"
click node_correlations "https://github.com/vikrambtech2025-png/auto-eda-dashboard/blob/main/app/eda.py"
click node_file_store "https://github.com/vikrambtech2025-png/auto-eda-dashboard/tree/main/data/uploads"
click node_history "https://github.com/vikrambtech2025-png/auto-eda-dashboard/blob/main/app/db.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_dashboard,node_browser,node_user toneBlue
class node_api,node_configuration,node_eda,node_quality,node_correlations toneAmber
class node_file_store,node_history toneMint
```

## Components

### Web dashboard

- [Dashboard UI](https://github.com/vikrambtech2025-png/auto-eda-dashboard/blob/main/app/templates/index.html): `app/templates/index.html`
- [Dashboard interactions](https://github.com/vikrambtech2025-png/auto-eda-dashboard/blob/main/app/static/app.js): `app/static/app.js`

### API and analysis

- [FastAPI routes](https://github.com/vikrambtech2025-png/auto-eda-dashboard/blob/main/app/main.py): `app/main.py`
- [Upload configuration](https://github.com/vikrambtech2025-png/auto-eda-dashboard/blob/main/app/config.py): `app/config.py`
- [Dataset profiling](https://github.com/vikrambtech2025-png/auto-eda-dashboard/blob/main/app/eda.py): `app/eda.py`
- [Quality and summaries](https://github.com/vikrambtech2025-png/auto-eda-dashboard/blob/main/app/eda.py): `app/eda.py`
- [Correlations and charts](https://github.com/vikrambtech2025-png/auto-eda-dashboard/blob/main/app/eda.py): `app/eda.py`

### Dataset persistence

- [Uploaded datasets](https://github.com/vikrambtech2025-png/auto-eda-dashboard/tree/main/data/uploads): `data/uploads`
- [History and reports](https://github.com/vikrambtech2025-png/auto-eda-dashboard/blob/main/app/db.py): `app/db.py`

### Other components

- **Dataset user**

## Connections

- Dataset user → Dashboard UI: uses (evidence: `README.md`)
- Dashboard UI → Dashboard interactions: hosts (evidence: `README.md`)
- Dashboard interactions → FastAPI routes: requests reports (evidence: `app/static/app.js`)
- FastAPI routes → Dashboard UI: renders (evidence: `app/main.py`)
- FastAPI routes → Upload configuration: uses settings (evidence: `app/main.py`)
- FastAPI routes → Uploaded datasets: writes uploads (evidence: `app/main.py`)
- FastAPI routes → Dataset profiling: loads and profiles (evidence: `app/main.py`)
- FastAPI routes → History and reports: stores and retrieves (evidence: `app/main.py`)
- Dataset profiling → Quality and summaries: computes (evidence: `app/eda.py`)
- Dataset profiling → Correlations and charts: computes (evidence: `app/eda.py`)
- Dashboard interactions → History and reports: refreshes history (evidence: `README.md`)
