EdwardSamuel13/business-analytics-dashboard
1
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
- Clone the repository.
- Install dependencies:
pip install -r requirements.txt- Run the application:
streamlit run src/dashboard.pyData
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:
python src/data_gen.py