Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📊 Sales Dashboard with AI Insights

An interactive sales analytics dashboard built with Python, Streamlit, Plotly, Pandas, and Groq LLM.

The dashboard helps users explore sales performance through interactive visualizations while generating AI-powered business insights and recommendations based on the selected dashboard filters.


🌐 Live Demo

🔗 https://YOUR-STREAMLIT-URL.streamlit.app


🚀 Features

  • Interactive KPI dashboard
  • Region-based filtering
  • Sales trend visualization
  • Product performance analysis
  • Profit distribution analysis
  • AI-generated executive summaries
  • Natural language business Q&A

🛠️ Technologies Used

  • Python
  • Streamlit
  • Pandas
  • Plotly Express
  • Groq API
  • Llama 3.3 70B Versatile

📷 Dashboard Preview

Dashboard

Dashboard


Sales Charts

Sales Charts


AI Executive Summary

Executive Summary


Ask AI

Ask AI


📦 Installation

Clone the repository

git clone <repository-url>

Move into the project folder

cd sales-dashboard-ai

Install dependencies

pip install -r requirements.txt

Create a .streamlit/secrets.toml file and add your Groq API key:

GROQ_API_KEY = "your_api_key_here"

Run the application

streamlit run app.py

🤖 AI Features

Executive Summary

Generates a concise business report from the dashboard metrics including:

  • Executive Summary
  • Key Observations
  • Business Recommendations

Ask AI

Allows users to ask business questions such as:

  • How can we improve profit?
  • Which category needs attention?
  • Which month performed best?
  • What trends stand out?

The AI answers strictly based on the dashboard data.


📁 Project Structure

sales-dashboard-ai/
│
├── data/
│   └── sales.csv
│
├── .streamlit/
│   └── secrets.toml
│
├── app.py
├── requirements.txt
├── .gitignore
└── README.md

🏗️ Architecture

CSV Dataset │ ▼ Pandas Processing │ ▼ Dashboard KPIs │ ▼ Summary Generation │ ▼ Groq LLM │ ▼ Executive Summary / Ask AI


🔮 Future Improvements

  • Export AI report as PDF
  • Additional dashboard filters
  • Compare multiple regions
  • Enhanced prompt engineering

👩‍💻 Author

Vaishnavi Goel

About

AI-powered Sales Analytics Dashboard built with Streamlit, Plotly, Pandas and Groq LLM.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages