An interactive and visually modern Sales Analytics Dashboard built using HTML, CSS, and JavaScript (Chart.js).
This dashboard provides insights into sales, cost, profit, transactions, and product performance across India.
This project simulates a real-world Computer Hardware Sales Dashboard with:
- π KPI metrics (Sales, Cost, Profit, Transactions, Quantity)
- π Category-wise product analysis
- π·οΈ Brand-wise sales distribution
- π State-wise sales performance
- π¨βπΌ Supervisor-based filtering system
- Dynamic filtering by Supervisor
- Real-time updates of charts & KPIs
- Bar Charts β Category & State Sales
- Doughnut Chart β Brand Sales Distribution
- Cost Analysis by Brand
- Total Sales (βΉ)
- Total Cost (βΉ)
- Total Profit (βΉ)
- Transactions
- Quantity Sold
- Dark modern theme π
- Responsive layout (mobile-friendly)
- Smooth hover effects & animations
- HTML5 β Structure
- CSS3 β Styling (Custom Dark Theme UI)
- JavaScript (Vanilla JS) β Logic & Interactivity
- Chart.js (v4) β Data Visualization
sales-dashboard/
βββ index.html # Main dashboard file
-
Header
- Title + Live Badge
-
Filter Panel
- Supervisor-based filtering
-
KPI Section
- Sales, Cost, Profit, Transactions, Quantity
-
Charts
- Quantity by Category
- Sales by Brand (Doughnut)
- Sales by State
- Cost by Brand
-
Supervisor Performance Table
- Sales, Transactions, and performance bars
- Download or clone the repository:
git clone https://github.com/harleenkaurkambojgandhi-design/SalesBoard-HTML.git-
Open the project folder
-
Run the file:
open index.htmlOr simply double-click index.html
- Top-performing brands: Intel, Samsung, Dell
- Highest sales regions: Maharashtra, Gujarat
- Best supervisors: Vijay Singh, Roshan Kumar
- Most sold category: Monitors & CPUs
- π API integration (real-time data)
- π₯ Export reports (PDF / Excel)
- π User authentication system
- π Advanced filters (date range, region)
- Hands-on experience with Chart.js
- Building interactive dashboards using Vanilla JS
- UI/UX design with modern CSS
- Data representation & analytics concepts
Your Name π https://github.com/harleenkaurkambojgandhi-design
| Metric | Value |
|---|---|
| Total Sales | βΉ99M |
| Total Cost | βΉ76M |
| Total Profit | βΉ23M |
| Transactions | 5.1K orders |
| Quantity | 13K units sold |
Monitor, Mouse, CPU, Graphic Card, Keyboard, Cabinet, HDD, SSD, RAM, MotherBoard, Comp. Case, NIC, Printer
Intel, Samsung, Dell, Nvidia, Western Digital, Acer
All, Aadil Khan, Aarvi Gupta, Advika Joshi, Ajay Sharma, Roshan Kumar, Vijay Singh
π‘ This dashboard represents the primary FY 2024β25 overview with the highest reported sales figure (βΉ99M).
Maharashtra, Gujarat, Uttar Pradesh, Bihar, Delhi, Tamil Nadu, Tripura, Orissa, Sikkim, Chandigarh
Intel, Dell, Nvidia, Western Digital, Acer, Gigabyte, Hynix, Seagate, MSI, Asus
| Supervisor | Transactions |
|---|---|
| Vijay Singh | 1223 |
| Roshan Kumar | 1100 |
| Advika Joshi | 920 |
| Aadil Khan | 860 |
| Ajay Sharma | 819 |
| Aarvi Gupta | 173 |
π‘ This dashboard provides regional, brand-cost, and individual performance insights not visible in the first two screenshots.
Compared to the unfiltered view (βΉ99M sales), this shows approximately 18% of total sales, indicating a specific segment selection.
| Metric | Filtered Value | Comparison to Main (βΉ99M) |
|---|---|---|
| Total Sales | βΉ18M | ~18% of total |
| Total Cost | βΉ14M | ~18% of total |
| Total Profit | βΉ4M | ~17% of total |
| Transactions | 920 | ~18% of total (5.1K β 920) |
| Quantity | 2.1K units | ~16% of total (13K β 2.1K) |
The consistent ~18% proportion suggests one of the following filters:
- Single Supervisor π€ β Likely Advika Joshi (920 transactions exactly match her count from Screenshot 3) or Aadil Khan (860, close)
- Specific Region/State πΊοΈ β One smaller state or a district within a top state
- Single Product Category π₯οΈ β e.g., only "Monitor" or "Mouse" sales
- Specific Time Period π β e.g., one quarter or one month
| Section | Details |
|---|---|
| Quantity by Category π¦ | Monitor, Mouse, CPU, Graphic Card, Keyboard, Cabinet, HDD, SSD, RAM, MotherBoard, Comp. Case, NIC, Printer (all categories still visible, but values are relative to filter) |
| Sales by Brand π·οΈ | Intel, Samsung, Dell, Nvidia, Western Digital, Acer |
| Supervisor Options π₯ | All, Aadil Khan, Aarvi Gupta, Advika Joshi, Ajay Sharma, Roshan Kumar, Vijay Singh |
π‘ This dashboard demonstrates the filtering capability of the BI tool. The user has likely selected Advika Joshi (920 transactions) or a similar segment, reducing all KPIs proportionally while preserving the category and brand distribution structure.
π Click here to view the dashboard
If you like this project, give it a β on GitHub!