# sibanarayan312/profit-analysis-project architecture

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

- Interactive diagram: https://gitdiagram.com/sibanarayan312/profit-analysis-project
- Repository: https://github.com/sibanarayan312/profit-analysis-project

## Overview

This is a retail-profit analysis project: it takes a Superstore dataset through exploratory analysis and SQL analysis, then presents findings in a Power BI dashboard and report. The README documents the high-level workflow and key findings; source excerpts were limited to the requirements file, so internal calls and data transfers between the individual tools cannot be verified. The SQL setup file is represented, but its specific role in the workflow is not established by the available evidence.

Main entry points: [`notebooks/analysis.ipynb`](https://github.com/sibanarayan312/profit-analysis-project/blob/main/notebooks/analysis.ipynb) (Exploratory Analysis), [`sql/analysis_queries.sql`](https://github.com/sibanarayan312/profit-analysis-project/blob/main/sql/analysis_queries.sql) (SQL Analysis), [`power bi/profit_analysis(powerbi).pbix`](https://github.com/sibanarayan312/profit-analysis-project/blob/main/power%20bi/profit_analysis(powerbi).pbix) (Profit Dashboard), [`data/superstore.csv`](https://github.com/sibanarayan312/profit-analysis-project/blob/main/data/superstore.csv) (Superstore Data)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_analysis["Data Analysis"]
  node_dataset["Superstore Data<br/>[superstore.csv]"]
  node_eda["Exploratory Analysis<br/>[analysis.ipynb]"]
end

subgraph group_sql["SQL Analysis"]
  node_sql_setup["Database Setup<br/>[setup.sql]"]
  node_sql_analysis["SQL Analysis"]
  node_profit_queries["Profit Queries<br/>[profit_queries.sql]"]
end

subgraph group_outputs["Business Outputs"]
  node_dashboard["Profit Dashboard"]
  node_report["Final Report<br/>[final_report.md]"]
end

node_dataset -->|"analyzed in"| node_eda
node_eda -->|"followed by"| node_sql_analysis
node_sql_analysis -->|"followed by"| node_dashboard
node_dashboard -.->|"informs insights"| node_report

click node_dataset "https://github.com/sibanarayan312/profit-analysis-project/blob/main/data/superstore.csv"
click node_eda "https://github.com/sibanarayan312/profit-analysis-project/blob/main/notebooks/analysis.ipynb"
click node_sql_setup "https://github.com/sibanarayan312/profit-analysis-project/blob/main/sql/setup.sql"
click node_sql_analysis "https://github.com/sibanarayan312/profit-analysis-project/blob/main/sql/analysis_queries.sql"
click node_profit_queries "https://github.com/sibanarayan312/profit-analysis-project/blob/main/sql/profit_queries.sql"
click node_dashboard "https://github.com/sibanarayan312/profit-analysis-project/blob/main/power%20bi/profit_analysis(powerbi).pbix"
click node_report "https://github.com/sibanarayan312/profit-analysis-project/blob/main/reports/final_report.md"

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_dataset,node_eda toneBlue
class node_sql_setup,node_sql_analysis,node_profit_queries toneAmber
class node_dashboard,node_report toneMint
```

## Components

### Data Analysis

- [Superstore Data](https://github.com/sibanarayan312/profit-analysis-project/blob/main/data/superstore.csv): `data/superstore.csv`
- [Exploratory Analysis](https://github.com/sibanarayan312/profit-analysis-project/blob/main/notebooks/analysis.ipynb): `notebooks/analysis.ipynb`

### SQL Analysis

- [Database Setup](https://github.com/sibanarayan312/profit-analysis-project/blob/main/sql/setup.sql): `sql/setup.sql`
- [SQL Analysis](https://github.com/sibanarayan312/profit-analysis-project/blob/main/sql/analysis_queries.sql): `sql/analysis_queries.sql`
- [Profit Queries](https://github.com/sibanarayan312/profit-analysis-project/blob/main/sql/profit_queries.sql): `sql/profit_queries.sql`

### Business Outputs

- [Profit Dashboard](https://github.com/sibanarayan312/profit-analysis-project/blob/main/power%20bi/profit_analysis(powerbi).pbix): `power bi/profit_analysis(powerbi).pbix`
- [Final Report](https://github.com/sibanarayan312/profit-analysis-project/blob/main/reports/final_report.md): `reports/final_report.md`

## Connections

- Superstore Data → Exploratory Analysis: analyzed in (evidence: `README.md`)
- Exploratory Analysis → SQL Analysis: followed by (evidence: `README.md`)
- SQL Analysis → Profit Dashboard: followed by (evidence: `README.md`)
- Profit Dashboard → Final Report: informs insights
