Python Pandas Streamlit

SmartDash - AI Powered Dashboard

SmartDash transforms raw sales CSVs into instant insights. Designed for shopkeepers and small businesses, it auto-detects key columns, applies filters, and delivers clear KPIs, charts, and a branded PDF report.

SmartDash - AI Powered Dashboard

👉 An AI-ready, user-friendly analytics dashboard for small businesses.

SmartDash is a lightweight web app that turns raw sales CSV files into instant insights.

Use cases:

✨ Key Features

đź–Ľ Demo Screens

Homepage Homepage

Dataset Loaded Data

🎯 Quick Start: Upload your sales CSV, explore insights, and download reports—all in your browser!

đź§ľ Dataset Format & Column Detection

SmartDash expects a CSV with typical sales columns. It automatically tries to detect these by name:

If Sales Amount is missing, SmartDash computes Revenue = Quantity Ă— Unit Price (if both exist).
If auto-detection fails, the always-visible selectors let you pick the right columns.

Tip: Use a sales_sample.csv for easy demos - Download

đź§­ How to Use the Dashboard

  1. Upload CSV — drag & drop your file.
  2. (Optional) Adjust column selectors — if the app couldn’t auto-detect correctly.
  3. Apply filters — pick Category/Region/Sales Rep to narrow results.
  4. View KPIs — instant totals and top performers.
  5. Explore charts — sales trend, top products, revenue by region.
  6. Read Insights — quick bullets; detailed findings.
  7. Export — download filtered CSV or a styled PDF report.

đź§  Insights Explained

SmartDash shows Quick Insights by default

đź§ľ Exporting Data & Reports

The PDF uses ReportLab.


To use Offline:

📦 Requirements

List of key Python packages (also in requirements.txt):

streamlit
pandas
numpy
reportlab
altair
datetime
# If you read Excel files too:
# openpyxl
# If you render matplotlib charts into the PDF:
# matplotlib

> **Python version:** 3.9+ recommended. Works on Windows/macOS/Linux.

---

## 🧑‍💻 Getting Started (Local)

1) **Clone the repo**
```bash
git clone https://github.com/yourusername/smartdash.git
cd smartdash
  1. Create a virtual environment (recommended)
# Windows
python -m venv .venv
.venv\Scripts\activate

# macOS/Linux
python3 -m venv .venv
source .venv/bin/activate
  1. Install dependencies
pip install -r requirements.txt
  1. Run SmartDash
streamlit run app.py
  1. Open the app
    Streamlit will show a local URL like http://localhost:8501. Open it in your browser.

đź§° Troubleshooting

đź“„ License

This project uses the MIT License — open and permissive.
See the LICENSE file for full text.

Next Project

Sales Performance Dashboard – Excel