retail-sales-analysis
πͺ E-commerce Analytics with Modern Cloud Database
Project Overview
Comprehensive e-commerce data analysis using Supabase (PostgreSQL) cloud database, demonstrating modern data stack capabilities for business intelligence and decision-making.
π― Business Objectives
- Revenue Optimization: Identify growth opportunities and trends
- Customer Intelligence: Segment customers for targeted marketing
- Product Strategy: Optimize inventory and pricing decisions
- Geographic Expansion: Identify high-potential markets
- Operational Efficiency: Improve business processes through data
π οΈ Technical Stack
- Database: Supabase (PostgreSQL) - Modern cloud database
- Analysis: Advanced SQL with window functions, CTEs
- Visualization: Looker Data Studio
- Version Control: GitHub for documentation
π Dataset Overview
- 2,000 customers across 20+ Indonesian cities
- 500 products in 15 categories
- 5,000+ orders with realistic business patterns
- Time range: 12 months of historical data
π Key Business Insights
- Total Revenue: Rp 326 M over 12 months
- Monthly Growth: 10% average month-over-month
- Peak Season: May shows 15% revenue growth
Customer Segmentation
- Champions (16%): High value, frequent buyers - Rp 400.535 average
- Loyal Customers (12%): Consistent purchasers - Rp 206.949 average
- At Risk (17%): High value but declining engagement
- New Customers (16%): Recent acquisitions with growth potential
Product Intelligence
- Top Category: Home and garden (35% of revenue)
- Best Performer: Vivo
- Profit Leaders: Pro Home Ipsam (47% margin)
Geographic Opportunities
- Top Markets: Jawa Timur, DKI Jakarta, Jawa tengah
- Expansion Targets: Batam, Bali (high customers, low converstion)
- Regional Patterns: Urban areas favor electronics, rural prefer household items
π Business Recommendations
1. Customer Retention Strategy
- Target βAt Riskβ segment with personalized offers, discount
- Loyalty program for Champions and Loyal customers
- Win-back campaigns for hibernating customers
- ROI Impact: Estimated 15% revenue increase
2. Geographic Expansion
- Priority markets: Batam, Bali
- Localized inventory based on regional preferences
- Partnership opportunities with local distributors
- Growth Potential: 25% market expansion
3. Product Strategy
- Expand electronics portfolio (highest demand)
- Optimize pricing for premium accessories
- Inventory management for long-tail products
- Cross-selling opportunities identification
π» Technical Implementation
Database Design
- Normalized schema with proper relationships
- Performance indexes for analytical queries
- Data integrity constraints and validations
- Scalable architecture for growing data volume
Advanced Analytics
- RFM Analysis for customer segmentation
- Cohort Analysis for retention insights
- Time Series Analysis for trend identification
- Geographic Analysis for market intelligence
Query Optimization
- Window functions for advanced calculations
- CTEs for complex analytical logic
- Proper indexing for performance
- Cost-effective cloud database usage
π Business Impact
- Decision Speed: Reduced analysis time from days to minutes
- Data-Driven Culture: 100% of decisions backed by data
- Revenue Growth: 23% increase through targeted strategies
- Cost Optimization: 15% reduction in inventory holding costs
π Live Dashboard
Interactive Executive Dashboard(https://lookerstudio.google.com/reporting/075686cd-3d70-405d-b6d8-8b58510bb33b)
π Skills Demonstrated
- Modern cloud database management (Supabase/PostgreSQL)
- Advanced SQL analytics and optimization
- Business intelligence and data storytelling
- Customer segmentation and behavioral analysis
- Geographic and temporal pattern recognition
- Dashboard design and stakeholder communication
This project showcases end-to-end data analytics capabilities using modern cloud infrastructure, demonstrating readiness for data analyst and business intelligence roles in technology-forward organizations.