A lightweight Streamlit sales dashboard with generated sample data, interactive filters, KPI cards, and revenue/product/channel views.
- A deterministic sample sales dataset generator
- Interactive dashboard filters for date range, region, segment, and channel
- KPI cards for revenue, orders, profit, and average order value
- Revenue trend, regional performance, top products, and channel mix visuals
- A performance summary table for quick slicing by region and customer segment
sales_dashboard/
|-- app.py
|-- requirements.txt
|-- README.md
`-- data/
`-- generate_sample_data.py
cd "D:\Project\Data Projects\sales_dashboard"
python -m venv .venv
.venv\Scripts\Activate.ps1
pip install -r requirements.txtIf local virtual environment creation is blocked on your machine, use a workspace-local package install instead:
cd "D:\Project\Data Projects\sales_dashboard"
python -m pip install --target .packages -r requirements.txtstreamlit run app.pyThe first run generates data/sample_sales.csv automatically.
If you used the workspace-local package install, run:
$env:PYTHONPATH="$PWD\.packages"
python -m streamlit run app.py