# thakasilatarun/pizza-sales architecture

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

- Interactive diagram: https://gitdiagram.com/thakasilatarun/pizza-sales
- Repository: https://github.com/thakasilatarun/pizza-sales

## Overview

This repository is a pizza-sales analysis project: SQL analysis supports an interactive Power BI report, which presents sales KPIs, trends, category and size comparisons, and best/worst pizza rankings. The documented user workflow is to open the report in Power BI Desktop and explore its two pages with filters. The README describes these capabilities, but no source excerpts are available, so implementation details and specific data connections cannot be verified.

Main entry points: [`powerbi/Pizza.pbix`](https://github.com/thakasilatarun/pizza-sales/blob/main/powerbi/Pizza.pbix) (Home dashboard), [`SQL`](https://github.com/thakasilatarun/pizza-sales/tree/main/SQL) (Sales analysis), [`powerbi/pizza_sales.csv`](https://github.com/thakasilatarun/pizza-sales/blob/main/powerbi/pizza_sales.csv) (Pizza sales data), [`SQL/PIZZA SALES SQL QUERIES.pdf`](https://github.com/thakasilatarun/pizza-sales/blob/main/SQL/PIZZA%20SALES%20SQL%20QUERIES.pdf) (SQL queries)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_data["Sales data"]
  node_sales_csv["Pizza sales data<br/>[pizza_sales.csv]"]
end

subgraph group_analysis["SQL analysis"]
  node_sql_queries["SQL queries"]
  node_sql_analysis["Sales analysis"]
end

subgraph group_reporting["Power BI reporting"]
  node_report["Power BI report<br/>[Pizza.pbix]"]
  node_home["Home dashboard<br/>[Pizza.pbix]"]
  node_sales_kpis["Sales KPIs<br/>[Pizza.pbix]"]
  node_order_trends["Order trends<br/>[Pizza.pbix]"]
  node_category_size["Category and size<br/>[Pizza.pbix]"]
  node_best_worst["Best/worst sales<br/>[Pizza.pbix]"]
  node_filters["Report filters<br/>[Pizza.pbix]"]
end

node_user(("Report explorer"))

node_sql_queries -->|"documents"| node_sql_analysis
node_sql_analysis -->|"supports metrics"| node_report
node_report -->|"contains page"| node_home
node_report -->|"contains page"| node_best_worst
node_home -->|"presents"| node_sales_kpis
node_home -->|"presents"| node_order_trends
node_home -->|"compares"| node_category_size
node_home -->|"offers"| node_filters
node_best_worst -.->|"offers"| node_filters
node_user -->|"explores"| node_report
node_sales_csv -.->|"supplies data"| node_sql_analysis

click node_sales_csv "https://github.com/thakasilatarun/pizza-sales/blob/main/powerbi/pizza_sales.csv"
click node_sql_queries "https://github.com/thakasilatarun/pizza-sales/blob/main/SQL/PIZZA%20SALES%20SQL%20QUERIES.pdf"
click node_sql_analysis "https://github.com/thakasilatarun/pizza-sales/tree/main/SQL"
click node_report "https://github.com/thakasilatarun/pizza-sales/blob/main/powerbi/Pizza.pbix"
click node_home "https://github.com/thakasilatarun/pizza-sales/blob/main/powerbi/Pizza.pbix"
click node_sales_kpis "https://github.com/thakasilatarun/pizza-sales/blob/main/powerbi/Pizza.pbix"
click node_order_trends "https://github.com/thakasilatarun/pizza-sales/blob/main/powerbi/Pizza.pbix"
click node_category_size "https://github.com/thakasilatarun/pizza-sales/blob/main/powerbi/Pizza.pbix"
click node_best_worst "https://github.com/thakasilatarun/pizza-sales/blob/main/powerbi/Pizza.pbix"
click node_filters "https://github.com/thakasilatarun/pizza-sales/blob/main/powerbi/Pizza.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_sales_csv toneBlue
class node_sql_queries,node_sql_analysis toneAmber
class node_report,node_home,node_sales_kpis,node_order_trends,node_category_size,node_best_worst,node_filters toneMint
class node_user toneIndigo
```

## Components

### Sales data

- [Pizza sales data](https://github.com/thakasilatarun/pizza-sales/blob/main/powerbi/pizza_sales.csv): `powerbi/pizza_sales.csv`

### SQL analysis

- [SQL queries](https://github.com/thakasilatarun/pizza-sales/blob/main/SQL/PIZZA%20SALES%20SQL%20QUERIES.pdf): `SQL/PIZZA SALES SQL QUERIES.pdf`
- [Sales analysis](https://github.com/thakasilatarun/pizza-sales/tree/main/SQL): `SQL`

### Power BI reporting

- [Power BI report](https://github.com/thakasilatarun/pizza-sales/blob/main/powerbi/Pizza.pbix): `powerbi/Pizza.pbix`
- [Home dashboard](https://github.com/thakasilatarun/pizza-sales/blob/main/powerbi/Pizza.pbix): `powerbi/Pizza.pbix`
- [Sales KPIs](https://github.com/thakasilatarun/pizza-sales/blob/main/powerbi/Pizza.pbix): `powerbi/Pizza.pbix`
- [Order trends](https://github.com/thakasilatarun/pizza-sales/blob/main/powerbi/Pizza.pbix): `powerbi/Pizza.pbix`
- [Category and size](https://github.com/thakasilatarun/pizza-sales/blob/main/powerbi/Pizza.pbix): `powerbi/Pizza.pbix`
- [Best/worst sales](https://github.com/thakasilatarun/pizza-sales/blob/main/powerbi/Pizza.pbix): `powerbi/Pizza.pbix`
- [Report filters](https://github.com/thakasilatarun/pizza-sales/blob/main/powerbi/Pizza.pbix): `powerbi/Pizza.pbix`

### Other components

- **Report explorer**

## Connections

- SQL queries → Sales analysis: documents (evidence: `README.md`)
- Sales analysis → Power BI report: supports metrics (evidence: `README.md`)
- Power BI report → Home dashboard: contains page (evidence: `README.md`)
- Power BI report → Best/worst sales: contains page (evidence: `README.md`)
- Home dashboard → Sales KPIs: presents (evidence: `README.md`)
- Home dashboard → Order trends: presents (evidence: `README.md`)
- Home dashboard → Category and size: compares (evidence: `README.md`)
- Home dashboard → Report filters: offers (evidence: `README.md`)
- Best/worst sales → Report filters: offers
- Report explorer → Power BI report: explores (evidence: `README.md`)
- Pizza sales data → Sales analysis: supplies data
