# tuitoekk/cooking-fuel-data-insights architecture

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

- Interactive diagram: https://gitdiagram.com/tuitoekk/cooking-fuel-data-insights
- Repository: https://github.com/tuitoekk/cooking-fuel-data-insights

## Overview

This repository is a Jupyter-based cooking-fuel sales analysis, using transaction data to describe sales and customer behavior, investigate the year-end decline, and develop customer-focused predictions and segments. The README documents analysis of trends, regions, products, discounts, customer status, purchase timing, and clustering. The notebook and dataset are present, but no source excerpts were provided, so implementation details and specific data-flow links cannot be verified; dashed edges indicate documented or implied analytical relationships.

Main entry points: [`cooking_fuel.csv`](https://github.com/tuitoekk/cooking-fuel-data-insights/blob/main/cooking_fuel.csv) (Transactions), [`final.ipynb`](https://github.com/tuitoekk/cooking-fuel-data-insights/blob/main/final.ipynb) (Purchase cycles)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_data["Sales data"]
  node_transactions[("Transactions<br/>[cooking_fuel.csv]")]
end

subgraph group_analysis["Sales analysis"]
  node_sales_trends["Sales trends<br/>[final.ipynb]"]
  node_regional["Regional performance<br/>[final.ipynb]"]
  node_product_pricing["Product and pricing<br/>[final.ipynb]"]
  node_collection["Collection type<br/>[final.ipynb]"]
  node_discounts["Discount effectiveness<br/>[final.ipynb]"]
end

subgraph group_customer["Customer insights"]
  node_acquisition["Customer acquisition<br/>[final.ipynb]"]
  node_purchase_cycles["Purchase cycles<br/>[final.ipynb]"]
  node_customer_status["Customer status<br/>[final.ipynb]"]
  node_segmentation["Customer segments<br/>[final.ipynb]"]
  node_marketing["Targeted marketing<br/>[final.ipynb]"]
end

node_analyst(("Business analyst"))

node_analyst -.->|"analyzes"| node_transactions
node_transactions -.->|"describes"| node_sales_trends
node_transactions -.->|"compares regions"| node_regional
node_transactions -.->|"assesses performance"| node_product_pricing
node_transactions -.->|"compares types"| node_collection
node_transactions -.->|"evaluates impact"| node_discounts
node_transactions -.->|"tracks acquisition"| node_acquisition
node_transactions -.->|"estimates timing"| node_purchase_cycles
node_purchase_cycles -.->|"classifies customers"| node_customer_status
node_purchase_cycles -.->|"supports clustering"| node_segmentation
node_segmentation -.->|"guides targeting"| node_marketing
node_customer_status -.->|"informs outreach"| node_marketing

click node_transactions "https://github.com/tuitoekk/cooking-fuel-data-insights/blob/main/cooking_fuel.csv"
click node_sales_trends "https://github.com/tuitoekk/cooking-fuel-data-insights/blob/main/final.ipynb"
click node_regional "https://github.com/tuitoekk/cooking-fuel-data-insights/blob/main/final.ipynb"
click node_product_pricing "https://github.com/tuitoekk/cooking-fuel-data-insights/blob/main/final.ipynb"
click node_collection "https://github.com/tuitoekk/cooking-fuel-data-insights/blob/main/final.ipynb"
click node_discounts "https://github.com/tuitoekk/cooking-fuel-data-insights/blob/main/final.ipynb"
click node_acquisition "https://github.com/tuitoekk/cooking-fuel-data-insights/blob/main/final.ipynb"
click node_purchase_cycles "https://github.com/tuitoekk/cooking-fuel-data-insights/blob/main/final.ipynb"
click node_customer_status "https://github.com/tuitoekk/cooking-fuel-data-insights/blob/main/final.ipynb"
click node_segmentation "https://github.com/tuitoekk/cooking-fuel-data-insights/blob/main/final.ipynb"
click node_marketing "https://github.com/tuitoekk/cooking-fuel-data-insights/blob/main/final.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_transactions toneBlue
class node_sales_trends,node_regional,node_product_pricing,node_collection,node_discounts toneAmber
class node_acquisition,node_purchase_cycles,node_customer_status,node_segmentation,node_marketing toneMint
class node_analyst toneIndigo
```

## Components

### Sales data

- [Transactions](https://github.com/tuitoekk/cooking-fuel-data-insights/blob/main/cooking_fuel.csv): `cooking_fuel.csv`

### Sales analysis

- [Sales trends](https://github.com/tuitoekk/cooking-fuel-data-insights/blob/main/final.ipynb): `final.ipynb`
- [Regional performance](https://github.com/tuitoekk/cooking-fuel-data-insights/blob/main/final.ipynb): `final.ipynb`
- [Product and pricing](https://github.com/tuitoekk/cooking-fuel-data-insights/blob/main/final.ipynb): `final.ipynb`
- [Collection type](https://github.com/tuitoekk/cooking-fuel-data-insights/blob/main/final.ipynb): `final.ipynb`
- [Discount effectiveness](https://github.com/tuitoekk/cooking-fuel-data-insights/blob/main/final.ipynb): `final.ipynb`

### Customer insights

- [Customer acquisition](https://github.com/tuitoekk/cooking-fuel-data-insights/blob/main/final.ipynb): `final.ipynb`
- [Purchase cycles](https://github.com/tuitoekk/cooking-fuel-data-insights/blob/main/final.ipynb): `final.ipynb`
- [Customer status](https://github.com/tuitoekk/cooking-fuel-data-insights/blob/main/final.ipynb): `final.ipynb`
- [Customer segments](https://github.com/tuitoekk/cooking-fuel-data-insights/blob/main/final.ipynb): `final.ipynb`
- [Targeted marketing](https://github.com/tuitoekk/cooking-fuel-data-insights/blob/main/final.ipynb): `final.ipynb`

### Other components

- **Business analyst**

## Connections

- Business analyst → Transactions: analyzes
- Transactions → Sales trends: describes
- Transactions → Regional performance: compares regions
- Transactions → Product and pricing: assesses performance
- Transactions → Collection type: compares types
- Transactions → Discount effectiveness: evaluates impact
- Transactions → Customer acquisition: tracks acquisition
- Transactions → Purchase cycles: estimates timing
- Purchase cycles → Customer status: classifies customers (evidence: `README.md`)
- Purchase cycles → Customer segments: supports clustering (evidence: `README.md`)
- Customer segments → Targeted marketing: guides targeting (evidence: `README.md`)
- Customer status → Targeted marketing: informs outreach (evidence: `README.md`)
