# aasthachouksey18/customer-behavior-analytics-powerbi architecture

> Architecture diagram of the GitHub repository aasthachouksey18/customer-behavior-analytics-powerbi, 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/aasthachouksey18/customer-behavior-analytics-powerbi
- Repository: https://github.com/aasthachouksey18/customer-behavior-analytics-powerbi

## Overview

This repository documents a customer-behavior analytics workflow: a CSV dataset is cleaned and explored in a Jupyter notebook, then stored and queried in MySQL, with results modeled and presented in an interactive Power BI dashboard. The README also describes KPIs, four visualization topics, and global filters. The notebook contents and the referenced Python, SQL, and Power BI artifacts are not available in the supplied tree, so those implementation paths are left null; relationships reflect the documented workflow, not inspected code.

Main entry points: [`notebook/notebook/Recovered_Ecommerce_Sales_Customer_Analytics.ipynb`](https://github.com/aasthachouksey18/customer-behavior-analytics-powerbi/blob/main/notebook/notebook/Recovered_Ecommerce_Sales_Customer_Analytics.ipynb) (Cleaning and EDA), [`Dataset/customer_shopping_behavior.csv`](https://github.com/aasthachouksey18/customer-behavior-analytics-powerbi/blob/main/Dataset/customer_shopping_behavior.csv) (Shopping data)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_preparation["Data preparation"]
  node_source_csv["Shopping data"]
  node_notebook["Cleaning and EDA"]
end

subgraph group_analysis["Data analysis"]
  node_mysql[("MySQL data and queries")]
end

subgraph group_presentation["Dashboard"]
  node_powerbi["Power BI dashboard"]
  node_kpis["Business KPIs"]
  node_category_sales["Sales by category"]
  node_age_sales["Sales by age"]
  node_location_revenue["Revenue by location"]
  node_payment_methods["Payment methods"]
  node_filters["Interactive filters"]
end

node_analyst(("Analytics user"))

node_source_csv -->|"cleaned and explored"| node_notebook
node_notebook -->|"loads data"| node_mysql
node_mysql -->|"connects data"| node_powerbi
node_powerbi -->|"presents"| node_kpis
node_powerbi -->|"visualizes"| node_category_sales
node_powerbi -->|"visualizes"| node_age_sales
node_powerbi -->|"visualizes"| node_location_revenue
node_powerbi -->|"visualizes"| node_payment_methods
node_powerbi -->|"provides"| node_filters
node_analyst -->|"explores"| node_powerbi

click node_source_csv "https://github.com/aasthachouksey18/customer-behavior-analytics-powerbi/blob/main/Dataset/customer_shopping_behavior.csv"
click node_notebook "https://github.com/aasthachouksey18/customer-behavior-analytics-powerbi/blob/main/notebook/notebook/Recovered_Ecommerce_Sales_Customer_Analytics.ipynb"

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_source_csv,node_notebook,node_analyst toneBlue
class node_mysql toneAmber
class node_powerbi,node_kpis,node_category_sales,node_age_sales,node_location_revenue,node_payment_methods,node_filters toneMint
```

## Components

### Data preparation

- [Shopping data](https://github.com/aasthachouksey18/customer-behavior-analytics-powerbi/blob/main/Dataset/customer_shopping_behavior.csv): `Dataset/customer_shopping_behavior.csv`
- [Cleaning and EDA](https://github.com/aasthachouksey18/customer-behavior-analytics-powerbi/blob/main/notebook/notebook/Recovered_Ecommerce_Sales_Customer_Analytics.ipynb): `notebook/notebook/Recovered_Ecommerce_Sales_Customer_Analytics.ipynb`

### Data analysis

- **MySQL data and queries**

### Dashboard

- **Power BI dashboard**
- **Business KPIs**
- **Sales by category**
- **Sales by age**
- **Revenue by location**
- **Payment methods**
- **Interactive filters**

### Other components

- **Analytics user**

## Connections

- Shopping data → Cleaning and EDA: cleaned and explored (evidence: `README.md`)
- Cleaning and EDA → MySQL data and queries: loads data (evidence: `README.md`)
- MySQL data and queries → Power BI dashboard: connects data (evidence: `README.md`)
- Power BI dashboard → Business KPIs: presents (evidence: `README.md`)
- Power BI dashboard → Sales by category: visualizes (evidence: `README.md`)
- Power BI dashboard → Sales by age: visualizes (evidence: `README.md`)
- Power BI dashboard → Revenue by location: visualizes (evidence: `README.md`)
- Power BI dashboard → Payment methods: visualizes (evidence: `README.md`)
- Power BI dashboard → Interactive filters: provides (evidence: `README.md`)
- Analytics user → Power BI dashboard: explores (evidence: `README.md`)
