E-Commerce Sales Insights Dashboard by Karanveer SharmaE-Commerce Sales Insights Dashboard by Karanveer Sharma

E-Commerce Sales Insights Dashboard

Karanveer Sharma

Karanveer Sharma

šŸ“Š E-Commerce Sales Insights Dashboard

šŸš€ Project Overview

This project leverages SQL, Pandas, and Streamlit to analyse e-commerce sales data, providing insights into trends, revenue distribution, and top-performing products/categories. The objective is to enhance decision-making using data-driven strategies.
   ![image](https://github.com/user-attachments/assets/bd9593f4-2f5a-4be5-b031-fc6671b75282)

šŸ“‚ Technologies Used

SQL (Data Extraction & Analysis)
Pandas (Data Cleaning & Processing)
Streamlit (Interactive Dashboard & Visualisation)
Matplotlib (Additional Data Visualisations)

šŸ” Key Features & Insights

1ļøāƒ£ Data Extraction & Preprocessing

Query sales data from an SQLite database.
Filters data from 2023 onwards for relevant insights.
Computes total sales for each product.

2ļøāƒ£ Top 5 Best-Selling Categories

Aggregate revenue per category.
Order categories are based on the highest total sales.
Uses bar charts for visual representation.

3ļøāƒ£ Monthly Revenue Trend Analysis

Extracts monthly revenue trends using strftime('%Y-%m', order_date).
Generates interactive line charts for visualisation.

4ļøāƒ£ Automated Business Reports

Summarises key sales insights.
Stores results in sales_report.txt.
Uses Streamlit alerts to notify users.

šŸ“Š Sample SQL Queries

āœ… Best-Selling Categories Query

SELECT category, SUM(quantity * unit_price) AS total_revenue
FROM sales_data
GROUP BY category
ORDER BY total_revenue DESC
LIMIT 5;

āœ… Monthly Revenue Trend Query

SELECT strftime('%Y-%m', order_date) AS month,
SUM(quantity * unit_price) AS total_revenue
FROM sales_data
GROUP BY month
ORDER BY month;

šŸ—ļø Future Enhancements

āœ… Implement predictive analytics using Machine Learning šŸ¤– āœ… Add real-time data updates for dashboards šŸ”„ āœ… Optimise SQL queries for faster performance šŸš€

šŸ“Ž How to Run the Project

1ļøāƒ£ Clone the Repository:
git clone https://github.com/your-repo/ecommerce-sales-dashboard.git
2ļøāƒ£ Install Dependencies:
pip install pandas sqlite3 streamlit matplotlib
3ļøāƒ£ Run the Streamlit Dashboard:
streamlit run app.py

🌟 Connect With Me

šŸš€ LinkedIn šŸ“‚ GitHub šŸ’¬ #DataAnalytics #SQL #Pandas #Streamlit #EcommerceInsights
Like this project

Posted Jul 10, 2025

Developed an e-commerce sales insights dashboard using SQL, Pandas, and Streamlit.