Skip to content

ariktheone/customer-churn-analysis-tableau

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Customer Churn Analysis Dashboard

Where and Why Customers Churn: Revenue, Tenure & Behavior Analysis

Tableau Python Pandas

๐Ÿ”ด 26.54% Churn Rate | ๐Ÿ“Š 7,043 Customers | ๐Ÿ’ฐ โ‚น1,384 Avg Revenue

๐Ÿ“Š View Live Dashboard


Dashboard Preview Interactive Tableau dashboard analyzing 7,043 customers across contract types, revenue segments, and behavioral patterns


๐Ÿ“‘ Table of Contents


๐Ÿ“Š Overview

This project analyzes customer churn behavior using a structured business approach, focusing on tenure, pricing, contract type, and customer behavior patterns.

The goal is to identify high-risk customer segments, understand key churn drivers, and derive actionable insights that can support retention strategies.

๐ŸŽฏ Quick Links:


๐ŸŽฏ Dashboard Highlights

๐Ÿ”— View Interactive Dashboard on Tableau Public

The interactive Tableau dashboard provides a comprehensive view of churn patterns across multiple dimensions:

Top-Level KPIs:

  • Overall churn rate: 26.54%
  • Total customer base: 7,043 customers
  • Average revenue per customer: โ‚น1,384
  • Average support tickets: 0.60 per customer

Key Visual Insights:

  • Contract type analysis showing month-to-month contracts driving 42.7% churn
  • Revenue segment analysis revealing โ‚น70-โ‚น90 band as highest risk zone (40% churn)
  • Payment method comparison with electronic check users at 45% churn rate
  • Tenure-based churn curve demonstrating 47% churn in first 12 months
  • Contract ร— Tenure heatmap identifying specific high-risk customer segments

โ“ Problem Statement

Customer churn directly impacts revenue and long-term growth. However, churn is often driven by multiple interacting factors such as:

  • Customer lifecycle stage
  • Pricing sensitivity
  • Contract structure
  • Payment behavior

This project aims to answer:

  • Where is churn highest?
  • Why are customers leaving?
  • Which segments require immediate attention?

๐Ÿ“ Dataset

The dataset includes customer-level information such as:

  • Demographics (e.g., Senior Citizen, Dependents)
  • Account details (Contract Type, Tenure)
  • Financial data (Monthly Charges, Total Charges)
  • Behavioral indicators (Support Tickets, Payment Method)
  • Target variable: Churn Value (0 / 1)

Source Files (available in /data/raw):

  • Telco_customer_churn.xlsx โ€” Customer demographics and churn data
  • Online Retail.xlsx โ€” Transaction and purchase behavior data
  • support.csv โ€” Synthetically generated support ticket data

For detailed column definitions and data sources, see data_dictionary.md.


๐Ÿ“ˆ Key Metrics

Metric Value Insight
Churn Rate 26.54% ๐Ÿ”ด Above industry average (20%)
Total Customers 7,043 ๐Ÿ“Š Analyzed customer base
Average Revenue per Customer โ‚น1,384 ๐Ÿ’ฐ Per customer contribution
Average Support Tickets per Customer 0.60 ๐Ÿ“ž Low engagement with support

๐Ÿ—‚๏ธ Dashboard Structure

๐Ÿ“Š Explore the Live Dashboard

The dashboard is designed to move from high-level KPIs โ†’ detailed drivers โ†’ actionable insights.

1. KPI Summary

Provides a quick snapshot of overall business health and churn level.

2. Churn by Contract Type

Compares churn across contract categories to evaluate retention stability.

3. Churn by Revenue Segment

Analyzes churn across monthly charge bands to identify pricing sensitivity.

4. Churn by Payment Method

Highlights behavioral differences across payment types.

5. Tenure vs Churn

Tracks how churn evolves across the customer lifecycle.

6. Churn Heatmap (Contract ร— Tenure)

Identifies high-risk zones by combining contract type and tenure.

7. Churn vs Monthly Charges (Key Analytical View)

Reveals concentration of churn across pricing segments and supports revenue-based decisions.


๐Ÿ’ก Key Insights

๐Ÿ”ด Early-Stage Risk

Early-stage customers (0โ€“12 months) show the highest churn (~47%), nearly 2ร— higher than long-term customers, indicating weak onboarding or early dissatisfaction.

๐Ÿ”ด Contract Flexibility Risk

Month-to-month contracts are the primary churn driver (42.7%), significantly exceeding fixed-term plans, suggesting lack of commitment increases exit probability.

๐Ÿ”ด Pricing Sensitivity Zone

Customers in the โ‚น70โ€“โ‚น90 monthly charge segment exhibit peak churn (~40%), indicating a pricing sensitivity zone where value perception may be misaligned.

๐Ÿ”ด Payment Behavior Risk

Electronic check users show the highest churn (45%), nearly 2ร— above the overall average (24%), highlighting behavioral or friction-related risk.

โœ… Support Impact (Minimal)

Support interaction shows negligible impact on churn (~0.15% difference), indicating that support volume alone is not a strong predictor of churn.


๐ŸŽฏ Business Implications

1. Improve Early Customer Experience

Action: Focus on onboarding, first 90-day engagement, and activation strategies.

Impact: Reducing early-stage churn by 10% could retain ~330 customers annually.

2. Reduce Reliance on Month-to-Month Contracts

Action: Introduce incentives to shift users toward longer-term plans (discounts, bundle offers).

Impact: Every 5% shift to annual contracts could reduce overall churn by ~2%.

3. Re-evaluate Mid-Tier Pricing Strategy

Action: Investigate value perception in the โ‚น70โ€“โ‚น90 segmentโ€”consider feature bundling or tier repositioning.

Impact: Aligns product value with customer expectations in highest-risk pricing band.

4. Address High-Risk Payment Behavior

Action: Encourage transition from electronic check to automated payment methods through friction reduction or incentives.

Impact: Payment method optimization could reduce churn by 3โ€“5% in this cohort.


๐Ÿ› ๏ธ Tools & Technologies

Category Tools
Data Processing Python Pandas Jupyter
Visualization Tableau
Data Sources Excel CSV

Technical Stack:

  • Python โ€” Data cleaning and preprocessing (Jupyter Notebooks)
  • Pandas โ€” Data manipulation and transformation
  • Tableau Public โ€” Dashboard development & visualization
  • Excel โ€” Original data sources (XLSX format)

โญ What Makes This Project Strong

Strength Description
๐ŸŽฏ Business-Focused Focus on business questions, not just visuals
๐Ÿ“Š Clear Flow Data โ†’ insight โ†’ action pipeline
๐Ÿ” Segmentation Analysis Multi-dimensional analysis (contract ร— tenure)
๐Ÿ’ผ Decision-Oriented Emphasis on decision-making impact, not just reporting
๐Ÿ“š Professional Documentation Industry-level documentation with data dictionary
๐ŸŒ Interactive Dashboard Publicly accessible Tableau dashboard

โš ๏ธ Limitations

Limitation Description
๐Ÿ”ฎ No Predictive Modeling Purely descriptive analysis; does not forecast future churn probability
๐ŸŒ No External Factors Market competition, customer feedback, or economic conditions not included
โšซโšช Binary Churn Treatment Churn treated as binary (0/1) without probability scoring or risk tiers
๐Ÿค– Synthetic Support Data Support metrics are artificially generated and may not reflect real-world patterns

๐Ÿš€ Future Improvements

1. Add Churn Prediction Model

Implement ML-based risk scoring (Logistic Regression, Random Forest, XGBoost) to assign churn probability to active customers.

2. Incorporate Customer Lifetime Value (CLV)

Combine churn risk with revenue forecasting to prioritize high-value retention efforts.

3. Include Cohort Analysis

Track retention over time by signup period to identify long-term behavioral trends.

4. Add A/B Testing Insights

Integrate experimental data for pricing changes, contract incentives, or payment method transitions.

5. Real-Time Dashboard

Connect to live data pipelines for operational monitoring and proactive intervention.


๐Ÿ“ Conclusion

The analysis highlights that churn is primarily driven by early lifecycle risk, contract flexibility, and pricing sensitivity, rather than support interactions.

Addressing these factors through targeted onboarding improvements, contract incentive programs, and payment friction reduction can significantly improve retention and stabilize revenue.

๐ŸŽฏ Key Takeaway: Focus retention efforts on the first 12 months, month-to-month contract holders, and customers in the โ‚น70โ€“โ‚น90 pricing band for maximum impact.

๐Ÿ“Š Explore the Full Analysis on Tableau Public


๐Ÿ“‚ Project Structure

churn/
โ”‚
โ”œโ”€โ”€ data/
โ”‚   โ”œโ”€โ”€ raw/
โ”‚   โ”‚   โ”œโ”€โ”€ Online Retail.xlsx             # Original transaction dataset
โ”‚   โ”‚   โ”œโ”€โ”€ Telco_customer_churn.xlsx      # Original customer churn dataset
โ”‚   โ”‚   โ””โ”€โ”€ support.csv                    # Synthetic support ticket data
โ”‚   โ”‚
โ”‚   โ””โ”€โ”€ processed/
โ”‚       โ”œโ”€โ”€ final_dataset.csv              # Complete analytical dataset (~7K customers)
โ”‚       โ””โ”€โ”€ model_dataset.csv              # ML-ready dataset with engineered features
โ”‚
โ”œโ”€โ”€ notebooks/
โ”‚   โ”œโ”€โ”€ DataCleaning.ipynb                 # Data preprocessing and transformation
โ”‚   โ””โ”€โ”€ SupportDataGenration.ipynb         # Synthetic support data generation
โ”‚
โ”œโ”€โ”€ tableau/
โ”‚   โ”œโ”€โ”€ dashboard_preview.png              # Dashboard screenshot for README
โ”‚   โ””โ”€โ”€ sales-customer-analytics-dashboard-2023.twbx  # Tableau workbook
โ”‚
โ”œโ”€โ”€ data_dictionary.md                      # Comprehensive data documentation
โ””โ”€โ”€ README.md                               # Project documentation

๐Ÿš€ How to Use This Repository

Quick Start

  1. ๐ŸŒ View Live Dashboard: Click here to explore the interactive Tableau dashboard

  2. ๐Ÿ“– Explore the Data Dictionary: Review data_dictionary.md for column definitions and data sources

  3. ๐Ÿ“Š Review Raw Data: Original datasets available in /data/raw

    • Telco_customer_churn.xlsx โ€” Customer demographics
    • Online Retail.xlsx โ€” Transaction data
    • support.csv โ€” Support tickets
  4. ๐Ÿ’ป Review Notebooks: Check data cleaning and transformation logic in /notebooks

    • DataCleaning.ipynb โ€” Data preprocessing pipeline
    • SupportDataGenration.ipynb โ€” Synthetic data generation
  5. ๐Ÿ”ง Reproduce Analysis: Use data/processed/final_dataset.csv for your own exploratory analysis

  6. ๐Ÿค– ML Experimentation: Use data/processed/model_dataset.csv for machine learning experiments

For Recruiters & Hiring Managers

  • ๐Ÿ“Š Live Dashboard: View on Tableau Public
  • ๐Ÿ“‚ Complete Code: Available in /notebooks for technical review
  • ๐Ÿ“– Documentation: Comprehensive data dictionary and README for context

๐Ÿ‘ค Author

Arijit Mondal
Data Analyst | Business Intelligence Specialist

Focus Areas: Customer Analytics, Churn Prevention, Revenue Optimization

๐Ÿ”— Connect:


๐Ÿ“œ License & Citation

This project is available for educational and portfolio purposes. If you use this work, please provide attribution.


Last Updated: March 3, 2026 | Status: โœ… Complete | Version: 1.0

โญ If you found this project helpful, please consider starring it!

Releases

No releases published

Packages

 
 
 

Contributors