I have created an interactive analytics dashboard tailored for Marts and General Store Owners in Pakistan (PakMart Executive Analytics).
✨ Key Features Implemented:
-
Targeted Pakistan Mart Persona & Domain Data:
- Includes authentic Pakistani FMCG brands & products: Shan Foods Recipe Mixes, Olper's Full Cream Milk, Tapal Danedar Chai, Sufi Cooking Oil, Guard Basmati Rice, Nestlé Everyday, Dawn Frozen Parathas, K&N's Nuggets, Surf Excel, Pampers, EBM Biscuits, Rooh Afza.
- Store Locations across major hubs: Karachi (Clifton Block 4), Lahore (Gulberg Flagship), Islamabad (F-7 Markaz), Rawalpindi (Commercial Market), Faisalabad (D-Ground).
- Channels: In-Store POS Walk-in, WhatsApp Order Delivery, Foodpanda/Blink Delivery, Wholesale B2B Kiryana.
-
Executive KPI Cards with Trend Indicators:
- Net Sales Revenue (with comparison vs previous period, PKR/Lacs formatting, sparkline).
- Total Orders & Footfall (In-store vs Delivery split).
- Average Order Value (AOV) with target comparisons.
- Gross Profit & Margin % breakdown.
- Inventory Alert Index (low stock & out-of-stock count).
- PakMart Club Customer Retention %.
-
Live Date-Range & Scope Filters (Updates Every View Live):
- Date Ranges: Today (Live), Yesterday, Last 7 Days, Last 30 Days, This Month, Last Quarter.
- Branch Selector: All Pakistan Stores or individual store branches.
- Channel Selector: In-Store, WhatsApp Orders, Foodpanda, Wholesale.
- Currency Format Toggle: Standard PKR (Rs.), Lacs/Crores System, or Millions (K/M).
-
Interactive Recharts Visualizations:
- Sales Revenue & Growth Trend (Area/Line chart with toggles for Revenue vs Profit, In-Store vs Delivery, and Current vs Previous Period).
- Category Performance Donut Chart (Department revenue share with active center highlight and hover tooltips).
- Hourly Peak Rush & Footfall Heatmap (Bar chart showing 8 AM – 10 PM PK grocery peak hours).
- Payment Method Split (Cash on Counter, Card POS, JazzCash / Easypaisa QR, WhatsApp COD).
-
Smart AI Intelligence & Store Owner Recommendations:
- Contextual alerts ("Weekend Rush: Shan Biryani Mix stock low in Lahore & Karachi", "Chai & Biscuits Bundle Cross-Sell Opportunity", "Edible Oil Margin Compression Warning").
- Direct action buttons on each alert to open PO supplier reorders or export executive summaries.
-
Sortable & Filterable Inventory & Velocity Ledger:
- Instant search by product name, brand, or SKU code.
- Filter by category and stock status (In Stock, Low Stock, Out of Stock).
- Column sorting for Stock Level, Price, Margin %, and Daily Velocity (units/day).
- One-click Export to CSV, pagination controls, and New SKU creation.
-
Multi-Tab Dashboard Views:
- Overview & Charts: High-level sales performance, category share, and peak rush heatmap.
- Inventory Ledger: SKU velocity, margins, and reorder controls.
- Branch Network Intelligence: Multi-store comparative grid across Karachi, Lahore, Islamabad, Rawalpindi, and Faisalabad.
- FMCG Suppliers & Payables: Vendor lead times, on-time rates, and outstanding credit balances in PKR.
-
Live POS Feed Simulation & Executive Report Modals:
- Live POS Feed Drawer: Real-time incoming transactions ticker every 6 seconds with an optional audio chime toggle.
- Supplier Restock Order Modal: Purchase order generator specifying unit quantities, delivery speed, and branch destination.
- Printable Executive Report Modal: Formatted store summary ready for printing or saving to PDF.
- SKU Deep Dive Inspector: Inspection modal showing price elasticity, margins, and stock thresholds.
-
Design & Responsive Dark Mode:
- Modern visual hierarchy with Plus Jakarta Sans typography, Tailwind styling, glassmorphism card highlights, and full Dark Mode toggle.
Files built: index.html, src/index.css, src/types/dashboard.ts, src/data/mockData.ts, src/components/Header.tsx, src/components/FilterBar.tsx, src/components/KPICards.tsx, src/components/SmartAIInsights.tsx, src/components/OverviewCharts.tsx, src/components/InventoryTable.tsx, src/components/BranchComparison.tsx, src/components/VendorAnalytics.tsx, src/components/LiveTransactionsDrawer.tsx, src/components/ReorderModal.tsx, src/components/ExportReportModal.tsx, src/components/ProductDetailModal.tsx, src/App.tsx