A modern, production-ready Sales Analytics Dashboard built using pure HTML, CSS, JavaScript, and Chart.js.
Designed for:
- GitHub Pages
- Vercel
- Portfolio projects
- SaaS admin panels
- Analytics showcases
- Business intelligence demos
| Feature | Included |
|---|---|
| Dark Analytics UI | ✅ |
| Fully Responsive | ✅ |
| Animated KPI Cards | ✅ |
| Dynamic Period Toggles | ✅ |
| Revenue Trends Chart | ✅ |
| Revenue by Channel | ✅ |
| Conversion Funnel | ✅ |
| Polar Area Chart | ✅ |
| Regional Performance | ✅ |
| Customer Segments | ✅ |
| Top Products Table | ✅ |
| CSS Variables Theme System | ✅ |
| Zero Build Tools | ✅ |
| GitHub Pages Ready | ✅ |
| Vercel Ready | ✅ |
- HTML5
- CSS3
- Vanilla JavaScript
- Chart.js (CDN)
- Google Fonts
project-folder/ │ ├── index.html └── README.md
Simply open:
index.html
in your browser.
No installation required.
Go to: https://github.com/new
Create a new repository.
Example: sales-dashboard
Upload:
- index.html
- README.md
Commit changes.
Go to:
Settings → Pages
Under: Build and deployment
Choose:
- Source → Deploy from branch
- Branch → main
- Folder → /root
Save.
GitHub will generate:
https://YOUR-USERNAME.github.io/REPOSITORY-NAME/
Example:
https://johnsmith.github.io/sales-dashboard/
Login with GitHub.
Click: Add New → Project
Import your GitHub repository.
Vercel automatically detects static HTML.
Click: Deploy
Done.
Example:
https://sales-dashboard.vercel.app
Inside:
<script> Edit: const periodData = { ... } --- ## Change Chart Data Find chart sections: new Chart(...) Update: - labels - datasets - colors --- ## Change Theme Colors Inside CSS: :root { --primary --secondary --bg ... } --- ## Replace Dummy Data With Real API Data You can replace static values using: fetch() Example: fetch('/api/data') .then(res => res.json()) .then(data => { console.log(data) }) --- # Performance - Lightweight - No frameworks - No build tools - Fast load times - Optimized for static hosting --- # Browser Support - Chrome - Edge - Firefox - Safari --- # License Free to use for personal and commercial projects.