CoolFace
Apppublic

EdwardSamuel13/business-analytics-dashboard

sourceHugging Faceupdated 9mo agoView on Hugging Face
1likes
App README

Integrated Business Analytics Dashboard

This is a comprehensive Business Analytics tool that combines traditional data analytics with AI-powered insights.

Features

  • โ€”๐Ÿ“Š Overview: Real-time KPIs and recent activity tracking.
  • โ€”๐Ÿ“ˆ Sales Performance: Interactive charts for revenue trends, category performance, and top products.
  • โ€”๐Ÿ‘ฅ Customer Segmentation: RFM (Recency, Frequency, Monetary) analysis using K-Means clustering.
  • โ€”๐Ÿ”ฎ Forecasting: Sales forecasting using Linear Regression.
  • โ€”๐Ÿ’ฌ Feedback Analysis: Sentiment analysis of customer reviews.
  • โ€”๐Ÿค– Business Q&A: AI-powered RAG (Retrieval-Augmented Generation) system to answer questions about your data.

Tech Stack

  • โ€”Frontend: Streamlit
  • โ€”Visualization: Plotly
  • โ€”Machine Learning: Scikit-learn, TextBlob
  • โ€”AI/RAG: LangChain, FAISS, Hugging Face Transformers (Flan-T5)

Local Installation

  1. 1.Clone the repository.
  2. 2.Install dependencies:
bash
   pip install -r requirements.txt
  1. 1.Run the application:
bash
   streamlit run src/dashboard.py

Data

The application uses synthetic data located in the data/ directory:

  • โ€”sales_data.csv: Transaction records.
  • โ€”customer_reviews.csv: User feedback and ratings.
  • โ€”web_logs.json: Web traffic logs.

To regenerate data, run:

bash
python src/data_gen.py