A complete Retail Promotion Analytics project that evaluates the effectiveness of promotional campaigns using Python. This project includes exploratory data analysis (EDA), business insights, and visualizations to answer client business questions.
Promotional campaigns are widely used to increase sales and revenue in the retail industry. This project analyzes promotional campaign data to measure their impact on product sales, revenue, and customer purchasing behavior.
The analysis addresses seven client business requests using data visualization and business metrics such as Incremental Revenue (IR%) and Incremental Sold Units (ISU%).
RetailPromotionAnalysis/
│
├── datasets/
│ ├── dim_campaigns.csv
│ ├── dim_products.csv
│ ├── dim_stores.csv
│ └── fact_events.csv
│
├── resources/
│ ├── dim_campaigns.jpg
│ ├── dim_products.jpg
│ ├── dim_stores.jpg
│ ├── fact_events.jpg
│ ├── Q1_Stores_by_City.png
│ ├── Q2_Sankranti_Category_Contribution.png
│ ├── Q3_Correlation_Heatmap.png
│ ├── Q4_Grocery_&_Staples.png
│ ├── Q4_Home_Care.png
│ ├── Q4_Combo1.png
│ ├── Q4_Home_Appliances.png
│ ├── Q4_Personal_Care.png
│ ├── Q5_ISU_by_City.png
│ ├── Q6_Hyderabad_IR_vs_ISU.png
│ └── Q7_Bengaluru_Revenue_Comparison.png
│
├── RetailPromotionAnalysis.ipynb
├── client_requests.pdf
├── Solutions.pdf
├── README.md
The project aims to answer the following business questions:
- Analyze the distribution of stores across cities.
- Measure category-wise contribution during the Sankranti campaign.
- Examine the relationship between product price and quantity sold after promotion.
- Study the distribution of quantity sold before promotions across product categories.
- Compare Incremental Sold Units Percentage (ISU%) across cities.
- Analyze Incremental Revenue (IR%) vs Incremental Sold Units (ISU%) for different promotion types in Hyderabad.
- Compare revenue before and after promotions across product categories in Bengaluru.
| Question | Visualization |
|---|---|
| Q1 | Bar Chart – Number of Stores by City |
| Q2 | Pie Chart – Category-wise Contribution |
| Q3 | Correlation Heatmap |
| Q4 | Histograms by Product Category |
| Q5 | Line Chart – ISU% Across Cities |
| Q6 | Scatter Plot – IR% vs ISU% |
| Q7 | Clustered Bar Chart – Revenue Comparison |
All generated charts are available in the resources/ directory.
- Bengaluru has the highest number of retail stores.
- Chennai and Hyderabad follow closely, indicating strong market presence.
- Grocery & Staples contributed over 70% of total quantity sold after promotion.
- Home Appliances ranked second in contribution.
- A weak positive correlation (~0.27) exists between post-promotion base price and quantity sold.
- Product pricing alone does not significantly influence sales volume.
- Grocery & Staples consistently exhibit the highest demand.
- Personal Care products contribute the lowest sales volume.
- Madurai achieved the highest Incremental Sold Units Percentage.
- Visakhapatnam recorded the smallest improvement after promotions.
- BOGOF generated the highest increase in units sold.
- 500 Cashback produced the highest increase in revenue.
- Combo1 products experienced the highest revenue growth after promotions.
- Personal Care showed a decline in revenue, indicating scope for improving promotional strategies.
| Dataset | Description |
|---|---|
| dim_campaigns.csv | Campaign information |
| dim_products.csv | Product details |
| dim_stores.csv | Store information |
| fact_events.csv | Promotional sales transactions |
- Python
- Pandas
- NumPy
- Matplotlib
- Jupyter Notebook
- Git
- GitHub
git clone https://github.com/vijaysamco/RetailPromotionAnalysis.gitcd RetailPromotionAnalysispip install pandas numpy matplotlibRun the Python notebooks or scripts to reproduce the analysis.
A comprehensive report containing:
- Business Questions
- Methodology
- Visualizations
- Business Insights
- Conclusions
is available in:
📘 Solutions.pdf
All visualizations generated during the analysis are stored in the resources/ folder.
This project demonstrates how data analytics can evaluate the success of retail promotional campaigns using business metrics such as Incremental Revenue (IR%) and Incremental Sold Units (ISU%). The findings provide actionable insights into customer purchasing behavior, campaign effectiveness, and regional performance, enabling informed business decisions.
If you found this project useful, feel free to ⭐ star the repository and share your feedback.










