A production-style business intelligence dashboard built with Flask, SQLite, and Chart.js. Visualizes sales performance across products, categories, regions, and time with live filtering.
- 6 KPI cards — revenue, profit, orders, AOV, customers, margin
- Revenue & profit trend chart (monthly)
- Category and region revenue breakdown
- Daily orders chart (last 30 days)
- Order status distribution
- Top 10 products table with sort and search
- Recent orders feed with status badges
- Date range and quick filter controls
- Backend: Python, Flask, SQLAlchemy, SQLite
- Frontend: Vanilla JS, Chart.js
- Data: Synthetic dataset — 500 customers, 8,000 orders, 40 products
- Clone the repo
python -m venv venvthen activatepip install -r requirements.txtpython seed_db.py— generates the databasepython app.py- Open
http://localhost:5005