๐๏ธ Sales Data Dashboard (2023 vs 2024)
A complete end-to-end data generation, cleaning, and visualization project comparing two business years (2023 vs 2024) through custom synthetic data. Built entirely in Python (Jupyter Notebook) and visualized using Power BI โ combining storytelling with interactivity using dynamic slicers, maps, and custom tooltips.
๐ ๏ธ Tools & Technologies Used
- Python (pandas, Faker, NumPy) โ Generated and cleaned 2023 & 2024 datasets using random logic and libraries.
- Power BI โ Designed interactive dashboards with city/state maps, slicers, donut charts, KPI cards, tooltips, and bar graphs.
- Generative AI (ChatGPT) โ Used as a co-pilot to debug scripts, organize logic, rewrite markdown, and brainstorm layout/design enhancements.
๐ Links
๐ Dataset Description
This project doesnโt use real-world business sales data. Instead:
๐น I first generated synthetic sales data for 2023 and 2024 using Pythonโs Faker and NumPy libraries.
๐น Then saved them into two datasets:
๐ฏ Problem Statements / Goals
This project wasnโt just about revenue per year โ it was about answering questions like:
- ๐ Are certain product categories more dominant by sales or by total orders?
- ๐๏ธ Which cities contributed the most to overall revenue?
- ๐ How do trends change month-by-month across KPIs like Sales, Orders, Quantity Sold?
- ๐ค Who are the top customers and how much are they contributing to our growth?
- ๐งญ What is the business growth direction comparing 2023 and 2024?
๐ Project Workflow
Python (Jupyter Notebook)
- Used
Faker
,random
, andNumPy
to simulate customer/product/order behaviour. - Created logic blocks for 2023 and 2024 (product-category mappings, ID formats, etc.)
- Saved final outputs as
.csv
files for Power BI import.
Power BI Dashboard
Built an interactive dashboard with 3 report pages covering:
๐ Page 1: KPI Dashboard
- ๐ KPI cards: Sales, quantity sold, orders, customers
- ๐ Line charts: Month-wise trends
- ๐ฏ Gauges: Year-end vs target KPIs
๐ Page 2: Comparison Analysis
- ๐ Sales by product category (bar)
- ๐งฎ Orders by product category (donut)
- ๐บ๏ธ City-wise sales (map)
- ๐ง Top 100 customers by sales and quantity
๐ Page 3: Custom Tooltip View
- Tooltip with Qtr-wise breakdown
- Appears on visual hover in dashboards
๐ก Key Insights
- ๐ 2024 saw a spike in both total customers and sales.
- ๐งข Clothing & Electronics dominated in sales and orders.
- ๐บ๏ธ San Francisco, New York, Houston led city-wise performance.
- ๐ Top 100 customers made up over 60% of revenue.
- ๐ฏ Most KPIs surpassed their original 2024 targets.
๐ Things I Learned
- How to create realistic synthetic datasets with Python.
- Balancing logic complexity with data readability.
- How to format and clean data to be dashboard-ready.
- Designing Power BI dashboards that tell stories visually.
- Using AI as a fast-thinking assistant in exploratory and design stages.
๐ฆ How to Explore This Project
- ๐ฅ Download the datasets from the repo.
- ๐ Explore the logic in the Jupyter Notebook.
- ๐ Open and analyze the Power BI
.pbix
file. - ๐งญ Use filters/slicers in Power BI to explore dynamic trends.