ecommerce-churn-analysis

E‑commerce Customer Churn Analysis

This project analyzes customer churn on an e‑commerce platform using a real‑world, partially unclean dataset. It demonstrates how to define, calculate, and visualize churn using SQL for data wrangling and Power BI for dashboarding.


🔍 Problem Statement

E‑commerce businesses lose revenue when customers stop purchasing (“churn”). We ask:


📦 Dataset

All data cleaning—filtering nulls, handling negative quantities, standardizing dates—was done via SQL scripts in the SQL/ folder. And you can find the cleaned dataset in the xlsx/ folder.


Tools & Technologies

Tool Purpose
SQL Data cleaning, transformation, churn logic
Power BI Dashboard creation, visuals, interactive filters
Git & GitHub Version control and portfolio hosting
Excel Quick data exploration and sanity checks

📊 Dashboard Preview

Dashboard Overview


🚀 Key Findings


📈 Visualizations & Analysis

  1. KPI Cards
    • Total vs. churned customers & churn rate (%)
  2. Top 10 Countries by Churn Rate
    • image
  3. Total Number of Sales Over Time
    • image
  4. Unique Customer Per Country
    • image
  5. Top Quantity Sold
    • image
  6. Average Unit Price
    • image
  7. Top Products for Retained Users
    • image

✏️ SQL Scripts Overview


Contact


“Data is more than numbers—it’s the voice of your customers. Understanding churn is the first step toward keeping them.”