A fully interactive Streamlit dashboard analyzing India's digital transaction landscape using PhonePe Pulse data.
Built with Python, SQL, Plotly, and Streamlit — this project delivers business insights through beautiful, data-driven visualizations.
With India's rapid adoption of digital payments, understanding transaction patterns, user engagement, and market growth areas is crucial.
This dashboard connects to a MySQL database containing curated PhonePe Pulse data, enabling real-time exploration of:
- 📈 Transaction Trends
- 📱 Device Usage Insights
- 🛡 Insurance Penetration & Growth
- 🌏 Geographic Payment Patterns
- 🧩 User Engagement Strategies
This project delivers five detailed business case analyses from the PhonePe dataset:
-
Decoding Transaction Dynamics
Explore variations across states, quarters, and payment types to design targeted growth strategies. -
Device Dominance & User Engagement
Understand which device brands dominate and how that impacts app usage across regions. -
Insurance Penetration & Growth Potential
Identify untapped insurance markets and monitor growth trends. -
Transaction Analysis for Market Expansion
Spot high-potential states/districts for PhonePe’s future expansion. -
User Engagement & Growth Strategy
Compare app opens vs. registered users to measure engagement levels.
- Backend / Data Layer: MySQL + SQLAlchemy
- Frontend / Dashboard: Streamlit
- Data Analysis & Viz: Pandas, Plotly (Express + Graph Objects)
- Geo Mapping: Custom India GeoJSON integration
- ETL: Python scripts + SQL queries for data extraction and transformation
📦 phonepe-pulse-dashboard
├── app1.py # Main Streamlit dashboard code
├── phonepe_analysis.ipynb # Python analysis & preprocessing
├── pysql.ipynb # SQL queries & data extraction
├── Business Case Study.pdf # Original case study prompts
├── 1st_PhonePay.pdf # Project specification & guidelines
├── Indian_States.geojson # Map boundaries for visualization
└── README.md # This file
- Dynamic Filters: Switch between years & quarters to see real-time data updates.
- Interactive Maps: Choropleth visualizations for state-wise metrics.
- Top N Insights: Instantly see top-performing states, districts, or device brands.
- Time Series Trends: Transaction & insurance growth over time.
- Responsive Layout: Optimized for desktop and large screens.
!git clone https://github.com/PhonePe/pulse.gitpip install -r requirements.txt- Install MySQL and create a database named
phonepe_db. - Import your processed PhonePe data into relevant tables:
aggregated_transactionaggregated_insuranceaggregated_usermap_transactionmap_insurancemap_usertop_transactiontop_insurancetop_user
streamlit run app1.py- Seasonal patterns in transaction spikes (festive quarters dominate).
- Brand affinity — certain devices dominate usage in specific states.
- Insurance adoption gap — large opportunities in underpenetrated states.
- High-growth clusters for market expansion.
Deepak Manian
📍 India
💌 Reach me: LinkedIn • Email
- PhonePe Pulse for open transaction data.
- Streamlit for making dashboards fun & fast.
- Plotly for interactive visualizations.
If you like this project, give it a ⭐ on GitHub — it motivates me to create more awesome projects like this!