DataMind-AI / README.md
samuelalex37's picture
Remove conflicting app_port from README frontmatter
2561038
|
Raw
History Blame Contribute Delete
2.25 kB
metadata
title: DataMind AI
emoji: 🧠
colorFrom: blue
colorTo: indigo
sdk: docker
pinned: false

🧠 DataMind AI β€” Intelligent Data Analyst

An AI-powered data analysis dashboard that automatically performs EDA, generates 20+ chart types, provides AI-driven insights, forecasting, and an interactive chat analyst.

πŸš€ Quick Start

1. Install Dependencies

pip install -r requirements.txt

2. Set Your Groq API Key

Windows (PowerShell):

$env:GROQ_API_KEY = "your_groq_api_key_here"

Windows (CMD):

set GROQ_API_KEY=your_groq_api_key_here

Mac/Linux:

export GROQ_API_KEY="your_groq_api_key_here"

3. Run the Application

python app.py

4. Open in Browser

Navigate to: http://localhost:5000

πŸ“Š Features

  • CSV Upload β€” Drag-and-drop any CSV file
  • Simulated Datasets β€” Pre-built Retail Sales and E-Commerce datasets
  • Automated EDA β€” Missing values, duplicates, outliers, correlations
  • 20+ Chart Types β€” Line, bar, pie, heatmap, waterfall, radar, BCG, RFM, and more
  • AI Chat Analyst β€” Ask questions about your data in natural language
  • Forecasting β€” Time series forecasting with confidence intervals
  • Key Insights β€” AI-generated actionable business insights
  • What-If Analysis β€” Scenario simulation with adjustable parameters

πŸ› οΈ Tech Stack

  • Backend: Python, Flask
  • Frontend: HTML, CSS, JavaScript (single-page app)
  • AI: Groq API (LLaMA 3.3 70B)
  • Charts: Matplotlib, Seaborn
  • ML: scikit-learn (KMeans), mlxtend (Apriori)
  • Forecasting: statsmodels (Exponential Smoothing)

πŸ“ Project Structure

β”œβ”€β”€ app.py              # Flask backend
β”œβ”€β”€ datasets.py         # Simulated dataset generators
β”œβ”€β”€ eda.py              # EDA pipeline
β”œβ”€β”€ charts.py           # Chart orchestrator
β”œβ”€β”€ charts_core.py      # Core chart functions (12 types)
β”œβ”€β”€ charts_advanced.py  # Advanced chart functions (11 types)
β”œβ”€β”€ ai_analyst.py       # Groq API integration
β”œβ”€β”€ templates/
β”‚   └── index.html      # Frontend SPA
β”œβ”€β”€ requirements.txt    # Dependencies
└── README.md           # This file