0

Product Retention & Cohort Analysis

Interactive cohort retention dashboard analyzing 3,000+ user events. Built with Python, Pandas, and React visualization.

Interactive Dashboard

Product Retention & Cohort Analysis

3,000 users β€’ 65K events β€’ 18 months of data

3,000
Total Users
21 months
65,493
Total Events
Tracked
$39,249
Total Revenue
Converted
59.7%
Onboarding Rate
Key metric
$13.08
Avg LTV
Per user

🎯 Channel Performance (Day 30 Retention)

organic
42%
$67 LTV1,368 users
referral
35%
$89 LTV422 users
paid_social
28%
$42 LTV1,210 users

⚑ Onboarding Impact

Completed
38%
Day 30 Retention
Not Completed
21%
Day 30 Retention
+81%
Retention Lift
Improving onboarding completion by 25% would add +4.3pp to 30-day retention

πŸ”₯ Cohort Retention Heatmap

Cohort
M0
M1
M2
M3
M4
M5
Sep 2023
100%
48%
32%
24%
18%
12%
Oct 2023
100%
50%
34%
26%
20%
14%
Nov 2023
100%
52%
36%
28%
22%
16%
Dec 2023
100%
54%
38%
30%
24%
18%
Jan 2024
100%
56%
40%
32%
26%
20%
Feb 2024
100%
58%
42%
34%
28%
22%
Mar 2024
100%
60%
44%
36%
30%
24%
Low Retention
High Retention
Built with Python, Pandas & ReactView on GitHub

Project Overview

Product Retention & Cohort Analysis is an end-to-end analytics project that transforms raw user event data into actionable product insights. This interactive dashboard demonstrates the complete analytical workflowβ€”from Python data processing to executive-ready visualizations.

What This Project Does

This dashboard answers critical product questions that hiring managers care about:

  • Which user cohorts retain best? β€” Visual retention heatmap with color-coded percentages
  • What's our Day 7 / Day 30 retention? β€” Benchmarked curves showing performance over time
  • Which acquisition channel delivers highest LTV? β€” Ranked comparison with retention + revenue metrics
  • Does onboarding completion matter? β€” A/B-style analysis showing +81% retention lift

Key Findings

🎯 Onboarding is the #1 Retention Driver

  • Users who complete onboarding: 38% Day 30 retention
  • Users who skip onboarding: 21% Day 30 retention
  • +81% retention lift from onboarding completion
  • Business Impact: Improving completion by 25% β†’ +4.3pp to 30-day retention

πŸ“Š Channel Quality Varies 2.1x in LTV

ChannelDay 30 RetentionLTVUsers
Referral35%$89422
Organic42%$671,368
Paid Social28%$421,210

πŸ“ˆ Retention is Improving

Later cohorts (Jan 2024+) show 8-12% better Month-1 retention, suggesting recent product changes are working.


  1. Onboarding Progress Bar

    • Hypothesis: Visible progress indicator increases completion 15-20%
    • Expected Impact: +4.3pp to 30-day retention
  2. Referral Incentive Program

    • Hypothesis: $25 credit per referral shifts mix to higher-LTV users
    • Expected Impact: +$4.70 LTV per 10% mix shift
  3. Day-7 Re-engagement Email

    • Hypothesis: Personalized feature highlights prevent early churn
    • Expected Impact: +3-4pp to 30-day retention

Technical Implementation

Data Pipeline

Python/Pandas β†’ JSON API β†’ React/Next.js Dashboard
     ↓              ↓              ↓
  65K events    Processed     Interactive viz
  Cohort logic  metrics       Dark theme UI

Technologies

  • Python/Pandas β€” Data processing, cohort assignment, retention calculations
  • React/TypeScript β€” Component-based dashboard with animations
  • Tailwind CSS β€” Dark theme matching portfolio aesthetic
  • GitHub β€” Source control and notebook hosting

Dataset

  • 3,000 users across 21 months (Jan 2023 - Sep 2024)
  • 65,493 events (signup, onboarding, purchases, visits, churn)
  • Realistic SaaS patterns: ~60% Day 1, ~35% Day 7, ~20% Day 30 retention
  • Multi-channel: organic, paid_social, referral with different profiles

Project Structure

cohort-retention-analysis/
β”œβ”€β”€ dashboard/
β”‚   β”œβ”€β”€ index.html          # Standalone HTML dashboard
β”‚   └── data.json           # Processed data API
β”œβ”€β”€ data/
β”‚   β”œβ”€β”€ user_events.csv     # 65K+ raw events
β”‚   └── generate_user_events.py
β”œβ”€β”€ notebooks/
β”‚   └── cohort_retention.ipynb  # Full Python analysis
β”œβ”€β”€ app/components/
β”‚   └── CohortDashboard.tsx # React component (this page)
β”œβ”€β”€ README.md
└── requirements.txt


Skills Demonstrated

CategorySkills
Product AnalyticsCohort analysis, retention modeling, LTV calculation, statistical insights
Product ThinkingA/B test design, metric prioritization, executive communication
EngineeringPython, Pandas, data pipelines, React components
VisualizationInteractive charts, dark UI/UX, responsive design
CommunicationDashboard storytelling, insight extraction, recommendation frameworks

This project showcases the exact skills hiring managers look for in Product Analyst and Growth Analyst roles.