End-to-end data analysis of a simulated Algerian e-commerce dataset (2,000 orders) β data cleaning in Excel/Power Query, SQL analysis in PostgreSQL, and an interactive Power BI dashboard.
# π Algerian E-Commerce Sales Analysis (2023β2024)
A full data analysis project on a simulated Algerian e-commerce dataset (2,000 orders),
covering data cleaning, SQL analysis, and an interactive Power BI dashboard.
---
## π Dashboard Preview
### Page 1 β Revenue & Orders Overview
### Page 2 β Trends & Order Status
---
## π Key Visuals
### Revenue by Wilaya
### Orders by Category
### Revenue Trend by Month
### Order Status Breakdown
---
## π Key Findings
- **Alger** generates the highest revenue, followed by **Oran** and **Constantine** β reflecting Algeria's population distribution
- **Electronics** is the most ordered category at **21.61%** of all orders
- Revenue in **2024 is more stable** than 2023 β less volatility month to month, suggesting business maturity
- **Cash on Delivery** is the dominant payment method, typical for the Algerian market
- Only **8.65%** of orders were cancelled or returned β a healthy rate for e-commerce
---
## π οΈ Tools Used
| Tool | Purpose |
|---|---|
| Excel + Power Query | Data cleaning & transformation |
| PostgreSQL | Data storage & SQL analysis |
| Python (pandas, sqlalchemy) | Loading data into PostgreSQL |
| Power BI | Interactive dashboard |
| Jupyter Notebook (VS Code) | SQL queries & exploration |
| Git + GitHub | Version control |
---
## π Project Structure
```
βββ screenshots/ # Dashboard & chart exports
β βββ dashboard_page1.png
β βββ dashboard_page2.png
β βββ chart_revenue_wilaya.png
β βββ chart_orders_category.png
β βββ chart_revenue_trend.png
β βββ chart_order_status.png
βββ algerian_ecommerce_raw.xlsx # Raw + cleaned dataset (Power Query)
βββ algerian_ecommerce_analysis.ipynb # SQL queries via Python
βββ ecommerce.pbix # Power BI dashboard file
βββ README.md
```
---
## ποΈ Dataset
- **Rows:** 2,000 orders (cleaned to 1,896 after removing dirty data)
- **Period:** January 2023 β December 2024
- **Columns:** order_id, order_date, customer_i β¦