# zainokhali0-crypto/end-to-end-business-intelligence-solution-for-e-commerce-sales-analytics architecture

> Architecture diagram of the GitHub repository zainokhali0-crypto/end-to-end-business-intelligence-solution-for-e-commerce-sales-analytics, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-09). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/zainokhali0-crypto/end-to-end-business-intelligence-solution-for-e-commerce-sales-analytics
- Repository: https://github.com/zainokhali0-crypto/end-to-end-business-intelligence-solution-for-e-commerce-sales-analytics

## Overview

This is an end-to-end e-commerce BI portfolio project: Olist data is profiled and transformed into a star-schema warehouse, then presented through a Power BI dashboard and business insights. The README documents the full lifecycle, while the sampled Python file only demonstrates CSV extraction and profiling; the remaining ETL details are therefore represented as documented stages, not inspected implementations.

Main entry points: [`4_ Data Visualization/Dashbord.pbix`](https://github.com/zainokhali0-crypto/end-to-end-business-intelligence-solution-for-e-commerce-sales-analytics/blob/main/4_%20Data%20Visualization/Dashbord.pbix) (Power BI Dashboard), [`2_Data_modeling/Convey data.py`](https://github.com/zainokhali0-crypto/end-to-end-business-intelligence-solution-for-e-commerce-sales-analytics/blob/main/2_Data_modeling/Convey%20data.py) (CSV Extraction), [`2_Data_modeling`](https://github.com/zainokhali0-crypto/end-to-end-business-intelligence-solution-for-e-commerce-sales-analytics/tree/main/2_Data_modeling) (Data Transformation), [`3_Data Warehouse Implementation/01_create_tables.sql`](https://github.com/zainokhali0-crypto/end-to-end-business-intelligence-solution-for-e-commerce-sales-analytics/blob/main/3_Data%20Warehouse%20Implementation/01_create_tables.sql) (SQLite Warehouse)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_ingest["Data Preparation"]
  node_extract["CSV Extraction<br/>[Convey data.py]"]
  node_profile["Data Profiling"]
  node_clean["Data Cleaning"]
  node_transform["Data Transformation"]
end

subgraph group_warehouse["Dimensional Warehouse"]
  node_dimensions["Dimensions"]
  node_fact["Sales Fact"]
  node_warehouse_db[("SQLite Warehouse")]
end

subgraph group_analytics["Dashboard Analytics"]
  node_dashboard["Power BI Dashboard<br/>[Dashbord.pbix]"]
  node_executive["Executive KPIs<br/>[Dashbord.pbix]"]
  node_sales_views["Sales Analysis<br/>[Dashbord.pbix]"]
  node_customer_views["Customer Analysis<br/>[Dashbord.pbix]"]
  node_product_views["Product Analysis<br/>[Dashbord.pbix]"]
  node_seller_views["Seller Analysis<br/>[Dashbord.pbix]"]
  node_regional_views["Regional Analysis<br/>[Dashbord.pbix]"]
end

subgraph group_outcomes["Business Outcomes"]
  node_insights["Business Insights"]
end

node_olist["Olist Dataset"]

node_olist -->|"provides CSVs"| node_extract
node_extract -->|"profiles data"| node_profile
node_extract -->|"feeds ETL"| node_clean
node_clean -->|"cleans for"| node_transform
node_transform -->|"builds dimensions"| node_dimensions
node_transform -->|"builds fact"| node_fact
node_dimensions -->|"loads first"| node_warehouse_db
node_fact -->|"loads after"| node_warehouse_db
node_warehouse_db -->|"feeds dashboard"| node_dashboard
node_dashboard -->|"presents"| node_executive
node_dashboard -->|"visualizes trends"| node_sales_views
node_dashboard -->|"supports behavior analysis"| node_customer_views
node_dashboard -->|"ranks categories"| node_product_views
node_dashboard -->|"ranks sellers"| node_seller_views
node_dashboard -->|"maps sales"| node_regional_views
node_dashboard -->|"informs"| node_insights

click node_extract "https://github.com/zainokhali0-crypto/end-to-end-business-intelligence-solution-for-e-commerce-sales-analytics/blob/main/2_Data_modeling/Convey%20data.py"
click node_profile "https://github.com/zainokhali0-crypto/end-to-end-business-intelligence-solution-for-e-commerce-sales-analytics/blob/main/2_Data_modeling/Data_Profiling.xlsx"
click node_clean "https://github.com/zainokhali0-crypto/end-to-end-business-intelligence-solution-for-e-commerce-sales-analytics/tree/main/2_Data_modeling"
click node_transform "https://github.com/zainokhali0-crypto/end-to-end-business-intelligence-solution-for-e-commerce-sales-analytics/tree/main/2_Data_modeling"
click node_dimensions "https://github.com/zainokhali0-crypto/end-to-end-business-intelligence-solution-for-e-commerce-sales-analytics/blob/main/3_Data%20Warehouse%20Implementation/01_create_tables.sql"
click node_fact "https://github.com/zainokhali0-crypto/end-to-end-business-intelligence-solution-for-e-commerce-sales-analytics/blob/main/3_Data%20Warehouse%20Implementation/01_create_tables.sql"
click node_warehouse_db "https://github.com/zainokhali0-crypto/end-to-end-business-intelligence-solution-for-e-commerce-sales-analytics/blob/main/3_Data%20Warehouse%20Implementation/01_create_tables.sql"
click node_dashboard "https://github.com/zainokhali0-crypto/end-to-end-business-intelligence-solution-for-e-commerce-sales-analytics/blob/main/4_%20Data%20Visualization/Dashbord.pbix"
click node_executive "https://github.com/zainokhali0-crypto/end-to-end-business-intelligence-solution-for-e-commerce-sales-analytics/blob/main/4_%20Data%20Visualization/Dashbord.pbix"
click node_sales_views "https://github.com/zainokhali0-crypto/end-to-end-business-intelligence-solution-for-e-commerce-sales-analytics/blob/main/4_%20Data%20Visualization/Dashbord.pbix"
click node_customer_views "https://github.com/zainokhali0-crypto/end-to-end-business-intelligence-solution-for-e-commerce-sales-analytics/blob/main/4_%20Data%20Visualization/Dashbord.pbix"
click node_product_views "https://github.com/zainokhali0-crypto/end-to-end-business-intelligence-solution-for-e-commerce-sales-analytics/blob/main/4_%20Data%20Visualization/Dashbord.pbix"
click node_seller_views "https://github.com/zainokhali0-crypto/end-to-end-business-intelligence-solution-for-e-commerce-sales-analytics/blob/main/4_%20Data%20Visualization/Dashbord.pbix"
click node_regional_views "https://github.com/zainokhali0-crypto/end-to-end-business-intelligence-solution-for-e-commerce-sales-analytics/blob/main/4_%20Data%20Visualization/Dashbord.pbix"
click node_insights "https://github.com/zainokhali0-crypto/end-to-end-business-intelligence-solution-for-e-commerce-sales-analytics/blob/main/4_%20Data%20Visualization/Business_Insights_Report_ECommerce_Dashboard.docx"

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_extract,node_profile,node_clean,node_transform toneBlue
class node_dimensions,node_fact,node_warehouse_db toneAmber
class node_dashboard,node_executive,node_sales_views,node_customer_views,node_product_views,node_seller_views,node_regional_views toneMint
class node_insights toneRose
class node_olist toneIndigo
```

## Components

### Data Preparation

- [CSV Extraction](https://github.com/zainokhali0-crypto/end-to-end-business-intelligence-solution-for-e-commerce-sales-analytics/blob/main/2_Data_modeling/Convey%20data.py): `2_Data_modeling/Convey data.py`
- [Data Profiling](https://github.com/zainokhali0-crypto/end-to-end-business-intelligence-solution-for-e-commerce-sales-analytics/blob/main/2_Data_modeling/Data_Profiling.xlsx): `2_Data_modeling/Data_Profiling.xlsx`
- [Data Cleaning](https://github.com/zainokhali0-crypto/end-to-end-business-intelligence-solution-for-e-commerce-sales-analytics/tree/main/2_Data_modeling): `2_Data_modeling`
- [Data Transformation](https://github.com/zainokhali0-crypto/end-to-end-business-intelligence-solution-for-e-commerce-sales-analytics/tree/main/2_Data_modeling): `2_Data_modeling`

### Dimensional Warehouse

- [Dimensions](https://github.com/zainokhali0-crypto/end-to-end-business-intelligence-solution-for-e-commerce-sales-analytics/blob/main/3_Data%20Warehouse%20Implementation/01_create_tables.sql): `3_Data Warehouse Implementation/01_create_tables.sql`
- [Sales Fact](https://github.com/zainokhali0-crypto/end-to-end-business-intelligence-solution-for-e-commerce-sales-analytics/blob/main/3_Data%20Warehouse%20Implementation/01_create_tables.sql): `3_Data Warehouse Implementation/01_create_tables.sql`
- [SQLite Warehouse](https://github.com/zainokhali0-crypto/end-to-end-business-intelligence-solution-for-e-commerce-sales-analytics/blob/main/3_Data%20Warehouse%20Implementation/01_create_tables.sql): `3_Data Warehouse Implementation/01_create_tables.sql`

### Dashboard Analytics

- [Power BI Dashboard](https://github.com/zainokhali0-crypto/end-to-end-business-intelligence-solution-for-e-commerce-sales-analytics/blob/main/4_%20Data%20Visualization/Dashbord.pbix): `4_ Data Visualization/Dashbord.pbix`
- [Executive KPIs](https://github.com/zainokhali0-crypto/end-to-end-business-intelligence-solution-for-e-commerce-sales-analytics/blob/main/4_%20Data%20Visualization/Dashbord.pbix): `4_ Data Visualization/Dashbord.pbix`
- [Sales Analysis](https://github.com/zainokhali0-crypto/end-to-end-business-intelligence-solution-for-e-commerce-sales-analytics/blob/main/4_%20Data%20Visualization/Dashbord.pbix): `4_ Data Visualization/Dashbord.pbix`
- [Customer Analysis](https://github.com/zainokhali0-crypto/end-to-end-business-intelligence-solution-for-e-commerce-sales-analytics/blob/main/4_%20Data%20Visualization/Dashbord.pbix): `4_ Data Visualization/Dashbord.pbix`
- [Product Analysis](https://github.com/zainokhali0-crypto/end-to-end-business-intelligence-solution-for-e-commerce-sales-analytics/blob/main/4_%20Data%20Visualization/Dashbord.pbix): `4_ Data Visualization/Dashbord.pbix`
- [Seller Analysis](https://github.com/zainokhali0-crypto/end-to-end-business-intelligence-solution-for-e-commerce-sales-analytics/blob/main/4_%20Data%20Visualization/Dashbord.pbix): `4_ Data Visualization/Dashbord.pbix`
- [Regional Analysis](https://github.com/zainokhali0-crypto/end-to-end-business-intelligence-solution-for-e-commerce-sales-analytics/blob/main/4_%20Data%20Visualization/Dashbord.pbix): `4_ Data Visualization/Dashbord.pbix`

### Business Outcomes

- [Business Insights](https://github.com/zainokhali0-crypto/end-to-end-business-intelligence-solution-for-e-commerce-sales-analytics/blob/main/4_%20Data%20Visualization/Business_Insights_Report_ECommerce_Dashboard.docx): `4_ Data Visualization/Business_Insights_Report_ECommerce_Dashboard.docx`

### Other components

- **Olist Dataset**

## Connections

- Olist Dataset → CSV Extraction: provides CSVs (evidence: `README.md`)
- CSV Extraction → Data Profiling: profiles data (evidence: `2_Data_modeling/Convey data.py`)
- CSV Extraction → Data Cleaning: feeds ETL (evidence: `README.md`)
- Data Cleaning → Data Transformation: cleans for (evidence: `README.md`)
- Data Transformation → Dimensions: builds dimensions (evidence: `README.md`)
- Data Transformation → Sales Fact: builds fact (evidence: `README.md`)
- Dimensions → SQLite Warehouse: loads first (evidence: `README.md`)
- Sales Fact → SQLite Warehouse: loads after (evidence: `README.md`)
- SQLite Warehouse → Power BI Dashboard: feeds dashboard (evidence: `README.md`)
- Power BI Dashboard → Executive KPIs: presents (evidence: `README.md`)
- Power BI Dashboard → Sales Analysis: visualizes trends (evidence: `README.md`)
- Power BI Dashboard → Customer Analysis: supports behavior analysis (evidence: `README.md`)
- Power BI Dashboard → Product Analysis: ranks categories (evidence: `README.md`)
- Power BI Dashboard → Seller Analysis: ranks sellers (evidence: `README.md`)
- Power BI Dashboard → Regional Analysis: maps sales (evidence: `README.md`)
- Power BI Dashboard → Business Insights: informs (evidence: `README.md`)
