← Portfolio

sales-data-analysis

Two years of retail sales, tested forecast included

3,269 orders from 2024 and 2025. Filter the revenue view, then see how four simple forecasting models did in a backtest, how customers come back, and who the valuable ones are.

Revenue per month

Forecast all data, unfiltered

Backtested before it is trusted: the models are scored on months they did not see. Two scoring methods are shown because they do not agree.

Cohort retention % of each first-purchase month ordering again

Grey means the month has not happened yet for that cohort. It is unknown, not zero.

RFM segments

Revenue concentration

Revenue by category, 2024 vs 2025

20242025

Source, tests and CI: github.com/Hassan3443/sales-data-analysis.