# ammarr12/powerbi-cosmetics-retail-analytics architecture

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

- Interactive diagram: https://gitdiagram.com/ammarr12/powerbi-cosmetics-retail-analytics
- Repository: https://github.com/ammarr12/powerbi-cosmetics-retail-analytics

## Overview

365 Cosmetics is an interactive Power BI dashboard for turning e-commerce transactions into sales, profitability, regional, and customer insights. Its documented workflow is transaction data into the dashboard, which presents an Overview, Regional Analysis, and Customer Demographics. The README describes these views and their metrics but provides no source excerpts, so the graph shows only those documented relationships; it does not infer how the workbook is modeled or how the report was built. The design deck and PDF are present, but their relationship to the report is not documented.

Main entry points: [`E-Commerce KPI Analysis Project.pbix`](https://github.com/ammarr12/powerbi-cosmetics-retail-analytics/blob/main/E-Commerce%20KPI%20Analysis%20Project.pbix) (Overview page), [`365 Cosmetic Inc. Dataset.xlsx`](https://github.com/ammarr12/powerbi-cosmetics-retail-analytics/blob/main/365%20Cosmetic%20Inc.%20Dataset.xlsx) (Transaction data)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_source["Data source"]
  node_transactions["Transaction data"]
end

subgraph group_report["Power BI report"]
  node_dashboard["Interactive dashboard"]
end

subgraph group_analysis["Analysis views"]
  node_overview["Overview page"]
  node_core_metrics["Core metrics"]
  node_product_performance["Product performance"]
  node_monthly_trend["Monthly sales trend"]
  node_discount_analysis["Discount analysis"]
  node_top_products["Top products"]
  node_regional["Regional analysis"]
  node_sales_map["Sales map"]
  node_market_trends["Market trends"]
  node_country_highlights["Country highlights"]
  node_demographics["Customer demographics"]
  node_employment["Employment breakdown"]
  node_high_value["High-value customers"]
  node_customer_growth["Yearly customer growth"]
end

node_user(("Dashboard user"))

node_transactions -->|"informs analysis"| node_dashboard
node_user -->|"interacts with"| node_dashboard
node_dashboard -->|"presents"| node_overview
node_dashboard -->|"presents"| node_regional
node_dashboard -->|"presents"| node_demographics
node_overview -->|"displays"| node_core_metrics
node_overview -->|"compares"| node_product_performance
node_overview -->|"tracks"| node_monthly_trend
node_overview -->|"analyzes"| node_discount_analysis
node_overview -->|"lists"| node_top_products
node_regional -->|"maps"| node_sales_map
node_regional -->|"tracks"| node_market_trends
node_regional -->|"identifies"| node_country_highlights
node_demographics -->|"segments"| node_employment
node_demographics -->|"tracks"| node_high_value
node_demographics -->|"tracks"| node_customer_growth

click node_transactions "https://github.com/ammarr12/powerbi-cosmetics-retail-analytics/blob/main/365%20Cosmetic%20Inc.%20Dataset.xlsx"
click node_dashboard "https://github.com/ammarr12/powerbi-cosmetics-retail-analytics/blob/main/E-Commerce%20KPI%20Analysis%20Project.pbix"
click node_overview "https://github.com/ammarr12/powerbi-cosmetics-retail-analytics/blob/main/E-Commerce%20KPI%20Analysis%20Project.pbix"
click node_core_metrics "https://github.com/ammarr12/powerbi-cosmetics-retail-analytics/blob/main/E-Commerce%20KPI%20Analysis%20Project.pbix"
click node_product_performance "https://github.com/ammarr12/powerbi-cosmetics-retail-analytics/blob/main/E-Commerce%20KPI%20Analysis%20Project.pbix"
click node_monthly_trend "https://github.com/ammarr12/powerbi-cosmetics-retail-analytics/blob/main/E-Commerce%20KPI%20Analysis%20Project.pbix"
click node_discount_analysis "https://github.com/ammarr12/powerbi-cosmetics-retail-analytics/blob/main/E-Commerce%20KPI%20Analysis%20Project.pbix"
click node_top_products "https://github.com/ammarr12/powerbi-cosmetics-retail-analytics/blob/main/E-Commerce%20KPI%20Analysis%20Project.pbix"
click node_regional "https://github.com/ammarr12/powerbi-cosmetics-retail-analytics/blob/main/E-Commerce%20KPI%20Analysis%20Project.pbix"
click node_sales_map "https://github.com/ammarr12/powerbi-cosmetics-retail-analytics/blob/main/E-Commerce%20KPI%20Analysis%20Project.pbix"
click node_market_trends "https://github.com/ammarr12/powerbi-cosmetics-retail-analytics/blob/main/E-Commerce%20KPI%20Analysis%20Project.pbix"
click node_country_highlights "https://github.com/ammarr12/powerbi-cosmetics-retail-analytics/blob/main/E-Commerce%20KPI%20Analysis%20Project.pbix"
click node_demographics "https://github.com/ammarr12/powerbi-cosmetics-retail-analytics/blob/main/E-Commerce%20KPI%20Analysis%20Project.pbix"
click node_employment "https://github.com/ammarr12/powerbi-cosmetics-retail-analytics/blob/main/E-Commerce%20KPI%20Analysis%20Project.pbix"
click node_high_value "https://github.com/ammarr12/powerbi-cosmetics-retail-analytics/blob/main/E-Commerce%20KPI%20Analysis%20Project.pbix"
click node_customer_growth "https://github.com/ammarr12/powerbi-cosmetics-retail-analytics/blob/main/E-Commerce%20KPI%20Analysis%20Project.pbix"

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_transactions,node_user toneBlue
class node_dashboard toneAmber
class node_overview,node_core_metrics,node_product_performance,node_monthly_trend,node_discount_analysis,node_top_products,node_regional,node_sales_map,node_market_trends,node_country_highlights,node_demographics,node_employment,node_high_value,node_customer_growth toneMint
```

## Components

### Data source

- [Transaction data](https://github.com/ammarr12/powerbi-cosmetics-retail-analytics/blob/main/365%20Cosmetic%20Inc.%20Dataset.xlsx): `365 Cosmetic Inc. Dataset.xlsx`

### Power BI report

- [Interactive dashboard](https://github.com/ammarr12/powerbi-cosmetics-retail-analytics/blob/main/E-Commerce%20KPI%20Analysis%20Project.pbix): `E-Commerce KPI Analysis Project.pbix`

### Analysis views

- [Overview page](https://github.com/ammarr12/powerbi-cosmetics-retail-analytics/blob/main/E-Commerce%20KPI%20Analysis%20Project.pbix): `E-Commerce KPI Analysis Project.pbix`
- [Core metrics](https://github.com/ammarr12/powerbi-cosmetics-retail-analytics/blob/main/E-Commerce%20KPI%20Analysis%20Project.pbix): `E-Commerce KPI Analysis Project.pbix`
- [Product performance](https://github.com/ammarr12/powerbi-cosmetics-retail-analytics/blob/main/E-Commerce%20KPI%20Analysis%20Project.pbix): `E-Commerce KPI Analysis Project.pbix`
- [Monthly sales trend](https://github.com/ammarr12/powerbi-cosmetics-retail-analytics/blob/main/E-Commerce%20KPI%20Analysis%20Project.pbix): `E-Commerce KPI Analysis Project.pbix`
- [Discount analysis](https://github.com/ammarr12/powerbi-cosmetics-retail-analytics/blob/main/E-Commerce%20KPI%20Analysis%20Project.pbix): `E-Commerce KPI Analysis Project.pbix`
- [Top products](https://github.com/ammarr12/powerbi-cosmetics-retail-analytics/blob/main/E-Commerce%20KPI%20Analysis%20Project.pbix): `E-Commerce KPI Analysis Project.pbix`
- [Regional analysis](https://github.com/ammarr12/powerbi-cosmetics-retail-analytics/blob/main/E-Commerce%20KPI%20Analysis%20Project.pbix): `E-Commerce KPI Analysis Project.pbix`
- [Sales map](https://github.com/ammarr12/powerbi-cosmetics-retail-analytics/blob/main/E-Commerce%20KPI%20Analysis%20Project.pbix): `E-Commerce KPI Analysis Project.pbix`
- [Market trends](https://github.com/ammarr12/powerbi-cosmetics-retail-analytics/blob/main/E-Commerce%20KPI%20Analysis%20Project.pbix): `E-Commerce KPI Analysis Project.pbix`
- [Country highlights](https://github.com/ammarr12/powerbi-cosmetics-retail-analytics/blob/main/E-Commerce%20KPI%20Analysis%20Project.pbix): `E-Commerce KPI Analysis Project.pbix`
- [Customer demographics](https://github.com/ammarr12/powerbi-cosmetics-retail-analytics/blob/main/E-Commerce%20KPI%20Analysis%20Project.pbix): `E-Commerce KPI Analysis Project.pbix`
- [Employment breakdown](https://github.com/ammarr12/powerbi-cosmetics-retail-analytics/blob/main/E-Commerce%20KPI%20Analysis%20Project.pbix): `E-Commerce KPI Analysis Project.pbix`
- [High-value customers](https://github.com/ammarr12/powerbi-cosmetics-retail-analytics/blob/main/E-Commerce%20KPI%20Analysis%20Project.pbix): `E-Commerce KPI Analysis Project.pbix`
- [Yearly customer growth](https://github.com/ammarr12/powerbi-cosmetics-retail-analytics/blob/main/E-Commerce%20KPI%20Analysis%20Project.pbix): `E-Commerce KPI Analysis Project.pbix`

### Other components

- **Dashboard user**

## Connections

- Transaction data → Interactive dashboard: informs analysis (evidence: `README.md`)
- Dashboard user → Interactive dashboard: interacts with (evidence: `README.md`)
- Interactive dashboard → Overview page: presents (evidence: `README.md`)
- Interactive dashboard → Regional analysis: presents (evidence: `README.md`)
- Interactive dashboard → Customer demographics: presents (evidence: `README.md`)
- Overview page → Core metrics: displays (evidence: `README.md`)
- Overview page → Product performance: compares (evidence: `README.md`)
- Overview page → Monthly sales trend: tracks (evidence: `README.md`)
- Overview page → Discount analysis: analyzes (evidence: `README.md`)
- Overview page → Top products: lists (evidence: `README.md`)
- Regional analysis → Sales map: maps (evidence: `README.md`)
- Regional analysis → Market trends: tracks (evidence: `README.md`)
- Regional analysis → Country highlights: identifies (evidence: `README.md`)
- Customer demographics → Employment breakdown: segments (evidence: `README.md`)
- Customer demographics → High-value customers: tracks (evidence: `README.md`)
- Customer demographics → Yearly customer growth: tracks (evidence: `README.md`)
