# asthajha4275/ecommerce-sales-dashboard architecture

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

- Interactive diagram: https://gitdiagram.com/asthajha4275/ecommerce-sales-dashboard
- Repository: https://github.com/asthajha4275/ecommerce-sales-dashboard

## Overview

This is a Tableau sales-performance dashboard backed by DataCo order-line data. The principal workflow connects the CSV, calculates current- and prior-year measures, and presents KPI and market/category/customer-acquisition views in Dashboard 1 for management. The README documents these capabilities and their relationships; no source excerpts were available, so the graph does not infer workbook internals beyond those documented. The README also says the shared TWBX includes data.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_data["Data"]
  node_dataset["DataCo order data"]
end

subgraph group_analysis["Analysis"]
  node_calculations["YTD and YoY calculations"]
end

subgraph group_presentation["Presentation"]
  node_kpis["Sales, profit, quantity KPIs"]
  node_category["Category YTD vs PYTD"]
  node_market["Market sales share"]
  node_acquisition["Monthly customer acquisition"]
  node_dashboard["Dashboard 1"]
end

node_manager(("Management user"))
node_tableau["Tableau Desktop/Public"]

node_manager -->|"opens workbook"| node_tableau
node_tableau -->|"opens"| node_dashboard
node_dataset -->|"provides data"| node_calculations
node_calculations -->|"powers"| node_kpis
node_calculations -->|"powers"| node_category
node_dataset -->|"provides sales data"| node_market
node_dataset -->|"provides customer data"| node_acquisition
node_dashboard -->|"combines"| node_kpis
node_dashboard -->|"combines"| node_category
node_dashboard -->|"combines"| node_market
node_dashboard -->|"combines"| node_acquisition

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_manager toneBlue
class node_calculations toneAmber
class node_kpis,node_category,node_market,node_acquisition,node_dashboard toneMint
class node_tableau toneIndigo
```

## Components

### Data

- **DataCo order data**

### Analysis

- **YTD and YoY calculations**

### Presentation

- **Sales, profit, quantity KPIs**
- **Category YTD vs PYTD**
- **Market sales share**
- **Monthly customer acquisition**
- **Dashboard 1**

### Other components

- **Management user**
- **Tableau Desktop/Public**

## Connections

- Management user → Tableau Desktop/Public: opens workbook (evidence: `README.md`)
- Tableau Desktop/Public → Dashboard 1: opens (evidence: `README.md`)
- DataCo order data → YTD and YoY calculations: provides data (evidence: `README.md`)
- YTD and YoY calculations → Sales, profit, quantity KPIs: powers (evidence: `README.md`)
- YTD and YoY calculations → Category YTD vs PYTD: powers (evidence: `README.md`)
- DataCo order data → Market sales share: provides sales data (evidence: `README.md`)
- DataCo order data → Monthly customer acquisition: provides customer data (evidence: `README.md`)
- Dashboard 1 → Sales, profit, quantity KPIs: combines (evidence: `README.md`)
- Dashboard 1 → Category YTD vs PYTD: combines (evidence: `README.md`)
- Dashboard 1 → Market sales share: combines (evidence: `README.md`)
- Dashboard 1 → Monthly customer acquisition: combines (evidence: `README.md`)
