# sarthakshaha11/food-delivery-analytics-powerbi architecture

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

- Interactive diagram: https://gitdiagram.com/sarthakshaha11/food-delivery-analytics-powerbi
- Repository: https://github.com/sarthakshaha11/food-delivery-analytics-powerbi

## Overview

This is a food-delivery analytics project: a Python script cleans and analyzes source datasets, while a Power BI report presents business insights. The documented dashboard spans executive sales, customer, restaurant and cuisine, delivery operations, food products, and recommendations. The script excerpt confirms raw CSV loading, analysis exports, and chart generation. The README documents how users open and explore the report. The exact handoff from generated files to the Power BI report is not shown, so that connection is marked unverified.

Main entry points: [`output/Food_Delivery_Analytics.pbix`](https://github.com/sarthakshaha11/food-delivery-analytics-powerbi/blob/main/output/Food_Delivery_Analytics.pbix) (Sales and KPIs), [`python/day1_analysis.py`](https://github.com/sarthakshaha11/food-delivery-analytics-powerbi/blob/main/python/day1_analysis.py) (Cleaning and analysis), [`raw_data`](https://github.com/sarthakshaha11/food-delivery-analytics-powerbi/tree/main/raw_data) (Raw datasets), [`cleaned_data`](https://github.com/sarthakshaha11/food-delivery-analytics-powerbi/tree/main/cleaned_data) (Cleaned datasets)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_data["Data and analysis"]
  node_raw[("Raw datasets")]
  node_analysis["Cleaning and analysis<br/>[day1_analysis.py]"]
  node_cleaned[("Cleaned datasets")]
end

subgraph group_report["Power BI experience"]
  node_metrics["Sales and KPIs"]
  node_customers["Customer analytics"]
  node_restaurants["Restaurant and cuisine"]
  node_operations["Delivery operations"]
  node_products["Food products"]
  node_insights["Insights and recommendations"]
  node_interactive["Filters and tooltips"]
end

subgraph group_deliverables["Analysis deliverables"]
  node_workbook["Excel workbook"]
  node_summaries["Analysis summaries"]
  node_charts["Analysis charts"]
end

node_analyst(("Analyst"))

node_analyst -->|"runs script"| node_analysis
node_analysis -->|"loads CSVs"| node_raw
node_analysis -.->|"produces cleaned data"| node_cleaned
node_analysis -->|"exports analyses"| node_summaries
node_analysis -->|"saves charts"| node_charts
node_analyst -->|"opens report"| node_metrics
node_metrics -->|"includes page"| node_customers
node_metrics -->|"includes page"| node_restaurants
node_metrics -->|"includes page"| node_operations
node_metrics -->|"includes page"| node_products
node_metrics -->|"includes page"| node_insights
node_metrics -->|"provides filters"| node_interactive
node_analysis -.->|"may supply report data"| node_metrics
node_analyst -.->|"explores workbook"| node_workbook

click node_raw "https://github.com/sarthakshaha11/food-delivery-analytics-powerbi/tree/main/raw_data"
click node_analysis "https://github.com/sarthakshaha11/food-delivery-analytics-powerbi/blob/main/python/day1_analysis.py"
click node_cleaned "https://github.com/sarthakshaha11/food-delivery-analytics-powerbi/tree/main/cleaned_data"
click node_metrics "https://github.com/sarthakshaha11/food-delivery-analytics-powerbi/blob/main/output/Food_Delivery_Analytics.pbix"
click node_customers "https://github.com/sarthakshaha11/food-delivery-analytics-powerbi/blob/main/output/Food_Delivery_Analytics.pbix"
click node_restaurants "https://github.com/sarthakshaha11/food-delivery-analytics-powerbi/blob/main/output/Food_Delivery_Analytics.pbix"
click node_operations "https://github.com/sarthakshaha11/food-delivery-analytics-powerbi/blob/main/output/Food_Delivery_Analytics.pbix"
click node_products "https://github.com/sarthakshaha11/food-delivery-analytics-powerbi/blob/main/output/Food_Delivery_Analytics.pbix"
click node_insights "https://github.com/sarthakshaha11/food-delivery-analytics-powerbi/blob/main/output/Food_Delivery_Analytics.pbix"
click node_interactive "https://github.com/sarthakshaha11/food-delivery-analytics-powerbi/blob/main/output/Food_Delivery_Analytics.pbix"
click node_workbook "https://github.com/sarthakshaha11/food-delivery-analytics-powerbi/blob/main/output/Food_Delivery_Analytics.xlsx"
click node_summaries "https://github.com/sarthakshaha11/food-delivery-analytics-powerbi/tree/main/output"
click node_charts "https://github.com/sarthakshaha11/food-delivery-analytics-powerbi/tree/main/charts"

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_raw,node_analysis,node_cleaned toneBlue
class node_metrics,node_customers,node_restaurants,node_operations,node_products,node_insights,node_interactive toneAmber
class node_workbook,node_summaries,node_charts toneMint
class node_analyst toneIndigo
```

## Components

### Data and analysis

- [Raw datasets](https://github.com/sarthakshaha11/food-delivery-analytics-powerbi/tree/main/raw_data): `raw_data`
- [Cleaning and analysis](https://github.com/sarthakshaha11/food-delivery-analytics-powerbi/blob/main/python/day1_analysis.py): `python/day1_analysis.py`
- [Cleaned datasets](https://github.com/sarthakshaha11/food-delivery-analytics-powerbi/tree/main/cleaned_data): `cleaned_data`

### Power BI experience

- [Sales and KPIs](https://github.com/sarthakshaha11/food-delivery-analytics-powerbi/blob/main/output/Food_Delivery_Analytics.pbix): `output/Food_Delivery_Analytics.pbix`
- [Customer analytics](https://github.com/sarthakshaha11/food-delivery-analytics-powerbi/blob/main/output/Food_Delivery_Analytics.pbix): `output/Food_Delivery_Analytics.pbix`
- [Restaurant and cuisine](https://github.com/sarthakshaha11/food-delivery-analytics-powerbi/blob/main/output/Food_Delivery_Analytics.pbix): `output/Food_Delivery_Analytics.pbix`
- [Delivery operations](https://github.com/sarthakshaha11/food-delivery-analytics-powerbi/blob/main/output/Food_Delivery_Analytics.pbix): `output/Food_Delivery_Analytics.pbix`
- [Food products](https://github.com/sarthakshaha11/food-delivery-analytics-powerbi/blob/main/output/Food_Delivery_Analytics.pbix): `output/Food_Delivery_Analytics.pbix`
- [Insights and recommendations](https://github.com/sarthakshaha11/food-delivery-analytics-powerbi/blob/main/output/Food_Delivery_Analytics.pbix): `output/Food_Delivery_Analytics.pbix`
- [Filters and tooltips](https://github.com/sarthakshaha11/food-delivery-analytics-powerbi/blob/main/output/Food_Delivery_Analytics.pbix): `output/Food_Delivery_Analytics.pbix`

### Analysis deliverables

- [Excel workbook](https://github.com/sarthakshaha11/food-delivery-analytics-powerbi/blob/main/output/Food_Delivery_Analytics.xlsx): `output/Food_Delivery_Analytics.xlsx`
- [Analysis summaries](https://github.com/sarthakshaha11/food-delivery-analytics-powerbi/tree/main/output): `output`
- [Analysis charts](https://github.com/sarthakshaha11/food-delivery-analytics-powerbi/tree/main/charts): `charts`

### Other components

- **Analyst**

## Connections

- Analyst → Cleaning and analysis: runs script (evidence: `README.md`)
- Cleaning and analysis → Raw datasets: loads CSVs (evidence: `python/day1_analysis.py`)
- Cleaning and analysis → Cleaned datasets: produces cleaned data
- Cleaning and analysis → Analysis summaries: exports analyses (evidence: `python/day1_analysis.py`)
- Cleaning and analysis → Analysis charts: saves charts (evidence: `python/day1_analysis.py`)
- Analyst → Sales and KPIs: opens report (evidence: `README.md`)
- Sales and KPIs → Customer analytics: includes page (evidence: `README.md`)
- Sales and KPIs → Restaurant and cuisine: includes page (evidence: `README.md`)
- Sales and KPIs → Delivery operations: includes page (evidence: `README.md`)
- Sales and KPIs → Food products: includes page (evidence: `README.md`)
- Sales and KPIs → Insights and recommendations: includes page (evidence: `README.md`)
- Sales and KPIs → Filters and tooltips: provides filters (evidence: `README.md`)
- Cleaning and analysis → Sales and KPIs: may supply report data
- Analyst → Excel workbook: explores workbook
