Skip to content

A visually interactive AI-powered sales forecasting dashboard using Streamlit, Plotly, and Python. Visualize KPIs, trends, and export filtered data with ease.

Notifications You must be signed in to change notification settings

anshkumar2311/AI-Powered-Sales-Forecasting-Dashboard

Repository files navigation

📊 AI Sales Forecasting Dashboard

A sleek and interactive dashboard built with Streamlit + Plotly
for analyzing and forecasting e-commerce sales performance using smart filters and visual insights.

Landing Page Screenshot

🌐 Live Demo | 🔗 GitHub | 👨‍💻 Author


🚀 Overview

The AI Sales Forecasting Dashboard is a data visualization tool that helps you monitor and analyze sales trends, performance metrics, and promotional impact. Ideal for business analysts, data science learners, and product teams.

It features:

  • Clear KPIs
  • Time-series analysis
  • Smart filters
  • CSV export

🧩 Features

Filterable by Date, Region, and Category
📅 Weekend & Holiday Checkboxes
📈 Key Performance Indicators: Sales, Profit, Orders, Discounts
📊 Interactive Graphs Powered by Plotly
🔮 Sales Forecasting using Prophet
📥 Download Filtered Data as CSV
💡 Responsive and Clean UI using Streamlit Layouts


🛠 Tech Stack Used

This project combines the power of modern data science tools and web technologies:

  • 📊 Streamlit – For building fast and beautiful interactive dashboards
  • 📈 Matplotlib Plotly Express – For dynamic and customizable data visualizations
  • 🐍 Python 3.11+ – Core language for data manipulation and backend logic
  • 🧮 Pandas – For handling and filtering the sales dataset
  • 📦 Pyngrok – To expose the local app securely over the internet
  • 🗃️ CSV File – Used as the backend data source (no database required)

⚙️ Deployed on Streamlit Cloud.


🔮 Forecasting Model (Prophet)

We use Facebook Prophet for time series forecasting:

  • Trained on historical Sales data
  • Forecasts future sales
  • Visualized directly in the dashboard

📌 Visuals


📁 Dataset Schema

Ensure your your_final_dataset.csv contains:

Order Date, Category, Region, Sales, Profit, Order ID, Discount, IsWeekend, IsHoliday

▶️ Getting Started

Ready to launch the AI Sales Forecasting Dashboard on your machine? Follow these simple steps:


🔧 Setup

git clone https://github.com/anshkumar2311/AI-Powered-Sales-Forecasting-Dashboard.git
cd AI-Powered-Sales-Forecasting-Dashboard
pip install -r requirements.txt
streamlit run app.py

📥 Download Filtered Data

🎯 Purpose: Empower users to focus only on the data they care about!

The dashboard offers an intuitive and seamless way to:

  • 📅 Select Date Range
  • 🛒 Choose Product Categories
  • 🌍 Filter by Sales Region
  • 🏖️ Toggle Weekend and Holiday Filters

Once filtered, users can easily:

Export the view as a downloadable CSV file
📤 Use the data for further analysis or reporting

Whether you're a marketer, business analyst, or data enthusiast — this feature brings flexibility and control to your fingertips.


🌟 Show Some Love

If you like this project, please consider:

⭐️ Starring the repo
🍴 Forking it for your own version

Let’s connect and grow together 🚀

About

A visually interactive AI-powered sales forecasting dashboard using Streamlit, Plotly, and Python. Visualize KPIs, trends, and export filtered data with ease.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published