Separate generation and analysis
A modular generate → analyze → visualize workflow makes the simulated inputs and transformations clear.
A five-page Streamlit platform over synthetic Sri Lankan food-delivery data, built to examine marketplace health, pricing, restaurants, courier operations and restaurant churn signals.
Each stage feeds the next, from simulation to dashboard.
Synthetic 2024 marketplace data
Orders and partners in SQLite
SQL for demand, pricing, operations
Random Forest flags churn risk
A five-page Streamlit dashboard
A food-delivery marketplace needs more than a revenue chart. Teams need to see demand by hour, cancellations by cause, zone performance, courier activity and restaurants that may need attention. This portfolio project simulated those operational questions for Sri Lanka using synthetic data rather than real Uber Eats records.
The diagram shows how data moves through the project.
Python modules generate the synthetic marketplace, run ten business SQL queries and perform deeper analysis. Plotly presents the results in Streamlit.
A modular generate → analyze → visualize workflow makes the simulated inputs and transformations clear.
Five pages group marketplace, pricing, restaurants, driver operations and churn rather than mixing every chart on one screen.
A Random Forest model scores restaurant partners so a partner team can prioritize investigation, not treat a score as confirmed future churn.
Scope and measurement matter as much as the headline numbers.
Platform-wide conversion in the synthetic order data; the remaining fallout is the gap worth investigating.
Orders between 12–14h and 19–21h account for roughly 45% of simulated daily orders.
The churn model marks about 15% of simulated restaurant partners as high-risk signals.
Measurement: These are descriptive results from generated 2024 marketplace data: 70,000+ orders, 200 restaurants and 300 couriers. The churn target is derived from low volume and low conversion; held-out predictive accuracy is not reported here. The elasticity coefficient is approximately −0.5 in this simulated analysis.
Because the marketplace is simulated, pricing and churn findings demonstrate the method and the modelling approach, not real Sri Lankan market behaviour.
The churn label is based on low order volume and conversion, so the risk score is a demonstration of prioritization rather than externally validated churn prediction.
Data generation enables reproducible scenarios, but the resulting relationships may not represent a live marketplace.
Explore the five-page dashboard or inspect the data generator, SQL queries, analysis modules and Streamlit application in the repository.