A data visualization and predictive analytics dashboard for business intelligence. Features interactive charts, trend analysis, and ML-powered forecasting.
- � CSV File Upload - Upload your own data for custom analysis
- �📈 Interactive Visualizations - Dynamic charts powered by Plotly
- 🔮 ML-Powered Forecasting - Trend predictions using Linear & Polynomial regression
- 📊 Real-time KPIs - Key performance indicators with growth metrics
- 🎯 Automated Reports - Summary statistics and actionable insights
- 🎨 Modern Dark Theme - Sleek, professional UI design
- 🔄 Auto Column Detection - Automatically detects date, numeric, and category columns
| Technology | Purpose |
|---|---|
| Python | Core programming language |
| Pandas | Data manipulation |
| Plotly | Interactive visualizations |
| scikit-learn | Machine learning models |
| Streamlit | Web dashboard framework |
Predictive Analytics Dashboard/
├── app.py # Main Streamlit application
├── requirements.txt # Python dependencies
├── data/
│ └── sample_sales_data.csv # Sample business dataset
├── models/
│ └── forecaster.py # ML forecasting models
├── utils/
│ ├── data_loader.py # Data loading utilities
│ └── visualizations.py # Plotly chart functions
└── README.md # Documentation
- Python 3.8 or higher
- pip package manager
-
Clone the repository
git clone https://github.com/DiwashPaudel/Predictive-Analytics-Dashboard.git cd Predictive-Analytics-Dashboard -
Install dependencies
pip install -r requirements.txt
-
Run the dashboard
streamlit run app.py
-
Open in browser Navigate to
http://localhost:8501
- Total Sales with growth percentage
- Total Revenue with growth percentage
- Total Customers count
- Average Revenue per Customer
- Daily Sales & Revenue trends (Area charts)
- Revenue by Product Category (Pie chart)
- Sales by Region (Bar chart)
- Select metric to forecast (Sales/Revenue/Customers)
- Adjustable forecast horizon (7-90 days)
- Choose between Linear or Polynomial models
- Confidence intervals visualization
- Summary statistics table
- Key business insights
- Trend direction and strength analysis
Replace data/sample_sales_data.csv with your own CSV file. Required columns:
Date- Date in YYYY-MM-DD formatSales- Number of salesRevenue- Revenue amountCustomers- Number of customersRegion- Region nameProduct_Category- Category name
This project is open source and available under the MIT License.
Diwash Paudel
AI & Machine Learning Engineer
⭐ Star this repo if you found it helpful!