๐ Retail Sales Analysis โ Business Insights from Superstore Data
๐ Summary
End-to-end exploratory data analysis on 4 years of retail sales data to uncover seasonal trends, profitability, customer segment behavior, and loss-making areas. Built in a reproducible notebook with clean structure, exportable outputs, and dashboard-ready visualizations.
Live Links
- GitHub Pages: https://litla8.github.io/retail-sales-analysis/
- Kaggle Notebook: https://www.kaggle.com/code/lalitraos/sales-dashboard
๐ฏ Objectives
- Identify peak sales periods and seasonality
- Analyze the impact of discounting on profitability
- Extract time-based features such as Year, Month, and Quarter
- Compare performance across region, state, category, sub-category, and segment
- Detect outliers, loss-making products, and underperforming regions
- Generate actionable business recommendations
๐ Dataset
๐ง Approach
- Data loading and cleaning using Pandas
- Missing-value handling and duplicate removal
- Datetime conversion and feature engineering
- Exploratory data analysis for sales, profit, quantity, and order value
- Advanced analysis for seasonality, discount-profit relationship, and outliers
- Visualization using Matplotlib and Seaborn
- Export of processed files, summaries, and business insights
๐ Key Insights
- Sales fluctuate across months, showing clear seasonality and peak demand periods
- Heavy discounting is associated with lower profitability
- Some products and regions consistently generate losses
- The Consumer segment contributes a major share of total sales
- Category and sub-category performance varies significantly and requires targeted strategy
๐ผ๏ธ Visuals
Add your screenshots or generated dashboards in the project root and reference them like this:


Included dashboard files:
retail_sales_dashboard.png
retail_sales_additional_insights.png
๐๏ธ Project Structure
retail_sales_analysis/
โโโ README.md
โโโ .gitignore
โโโ LICENSE
โโโ requirements.txt
โโโ p2_retail_sales_analysis.ipynb
โโโ p2_retail_sales_analysis.py
โโโ p2_retail_sales_analysis.html
โโโ Sample - Superstore.csv
โโโ retail_sales_processed.csv
โโโ retail_sales_monthly_summary.csv
โโโ retail_sales_yearly_summary.csv
โโโ retail_sales_product_performance.csv
โโโ retail_sales_insights.txt
โโโ retail_sales_dashboard.png
โโโ retail_sales_additional_insights.png
โถ๏ธ Run Locally
pip install -r requirements.txt
jupyter notebook p2_retail_sales_analysis.ipynb
๐งช Reproducibility
- Python 3.9+
- Deterministic aggregations and reproducible data pipeline
- Kaggle-compatible notebook version available for cloud execution
๐ ๏ธ Tech Stack
- Python
- Pandas
- NumPy
- Matplotlib
- Seaborn
- Jupyter Notebook
๐ Extensions (next steps)
- Build a Streamlit dashboard for interactive exploration
- Add forecasting for future monthly sales
- Create region-wise KPI cards and filters
- Deploy a cleaner HTML landing page through GitHub Pages
๐ค Author
Lalit Rao โ https://github.com/Litla8
๐ Certificate
[View Certificate]C:\Users\Lalit Rao\OneDrive\Desktop\retail_sales_analysis\certificate