Deep-dive business analysis across four key dimensions
Four headline KPIs extracted with direct SQL aggregations — the foundation before any dimensional slicing.
Breaking down revenue by fat content and item type reveals which product segments drive the most volume.
→ Low Fat products account for 64% of total revenue — consumer preference is clear.
Analysing sales across establishment year, outlet size, location tier, and outlet type to surface the most profitable store profiles.
→ Medium-sized outlets lead — balancing variety and operational efficiency.
→ Tier 3 suburban outlets outperform — higher volume, lower competition.
| Outlet Type | Total Sales | Avg Sale | No. Items | Avg Rating | Item Visibility |
|---|---|---|---|---|---|
| Supermarket Type 1 | $787,549 | $141 | 5,577 | 4.00 | 0.06 |
| Grocery Store | $151,939 | $140 | 1,083 | 4.01 | 0.10 |
| Supermarket Type 3 | $130,712 | $141 | 935 | 3.91 | 0.06 |
| Supermarket Type 2 | $131,478 | $141 | 928 | 3.93 | 0.06 |
→ Supermarket Type 1 dominates in volume (65% of total sales). Grocery Stores show higher item visibility — products are more prominently placed.
→ Newest outlets (2018) lead in sales — reflects growth investment. The 2002 cohort is the strongest legacy performer.
Linking satisfaction scores to sales performance — and identifying which specific items need attention.
→ 78% of orders scored 4+ — strong overall satisfaction. Only 2% fall into the low-rating tier.
→ Positive correlation confirmed — higher-rated products generate $38 more per order on average than lowest-rated ones.
| Item ID | Item Type | Rating | Total Sales | Priority |
|---|---|---|---|---|
| FDP27 | Frozen Foods | 1.0 | $263.00 | Critical |
| NCB42 | Baking Goods | 1.0 | $241.50 | Critical |
| DRI11 | Soft Drinks | 1.5 | $312.00 | Critical |
| FDW28 | Dairy | 2.0 | $198.75 | Review |
| NCB33 | Canned | 2.0 | $187.20 | Review |
| FDN15 | Snack Foods | 2.0 | $156.00 | Review |
| DRE18 | Soft Drinks | 2.5 | $421.80 | Review |
| FDC21 | Fruits & Veg | 2.5 | $389.00 | Review |
→ Frozen Foods and Soft Drinks appear most in low-rating outliers — quality or freshness may be an issue at specific outlets.
PostgreSQL queries powering each analysis section — written in pgAdmin 4.