π Live App: data-analyst-ai-agent.streamlit.app
π Live App: data-analyst-ai-agent.streamlit.app
Data Analyst Agent is a next-generation AI-powered analytics platform built with Streamlit. It empowers usersβwhether beginners, business professionals, or data scientistsβto upload their data, clean it, analyze it, visualize it, and even build machine learning models instantly.
The app integrates modern UI/UX design with cutting-edge AI models, providing both automation and interactivity in a seamless way. Users can chat with their data, generate SQL queries, build dashboards, and even perform AutoMLβall in one place.
This is not just a toolβitβs your virtual AI Data Analyst.
- Dark neon-inspired design with glassmorphism.
- Animated gradients and interactive transitions.
- Sidebar with profile, settings, and navigation.
- Responsive and elegant design for all devices.
- App logo + user profile section.
- Quick navigation across tabs (Upload, Insights, SQL, Visualization, ML, etc.).
- Theme switcher (light/dark/glass).
- Recent file history for quick access.
- API key management (
.envor manual entry). - App settings (language, font size, preferences).
- Social links (GitHub, Twitter, LinkedIn).
- Support, feedback, and developer credit section.
- Upload CSV/Excel files with drag-and-drop.
- Automatic type detection, date parsing, and missing value handling.
- Preview dataset instantly.
- Fill, drop, or filter missing values.
- Convert/transform data types interactively.
- Apply filters and transformations directly from UI.
- AI-powered anomaly detection.
- Summary statistics at your fingertips.
- OpenAI-powered insights for business storytelling with data.
- Chat with your data like a human analyst.
- Multi-turn memory for context-aware conversations.
- Export chat history, SQL queries, and responses.
- AI-generated SQL queries from plain English.
- Query correction with error explanations.
- Visual query builder for no-code SQL.
- Version control and collaborative query sharing.
- Automatic chart recommendations.
- Drag-and-drop chart builder.
- Build complete dashboards with filtering & drill-down.
- Export charts as images, data, or dashboards.
- AI-powered annotations & insights.
- Data modeling & KPI dashboards.
- Auto-generate DAX and Power Query scripts.
- Data source connectors and refresh scheduling.
- Export reports for Power BI.
- Time intelligence (period over period analysis).
- Drill-through navigation.
- Custom visual marketplace (e.g., radar charts).
- Row-level security simulation.
- Publish & share dashboards securely.
- AutoML model builder (classification & regression).
- Feature engineering & selection tools.
- Explainability via SHAP values.
- Prediction playground for testing models.
- Export models for reuse.
- Frontend/UI: Streamlit (dark neon theme with animations).
- Data Processing: Pandas, NumPy, DuckDB.
- LLM Features: OpenAI API.
- Visualization: Plotly, PyDeck.
- Machine Learning: Scikit-learn, SHAP, Joblib.
- Environment Management:
.env+ Streamlit secrets.
Data analysis is often time-consuming and technical. With Data Analyst Agent, you get the power of a data analyst, BI engineer, and ML engineer all in one friendly AI-powered tool. Whether youβre analyzing sales data, visualizing trends, or building predictive modelsβthis app does it all, instantly.
graph TD
A[Start: Launch App] --> B[Upload Data (CSV/Excel)] B --> C{File Uploaded?} C -->|No| B C -->|Yes| D[Preprocessing: type detection, missing values, date parsing]
D --> E[Data Cleaning & Transformation] E --> F[Automated Insights & Anomaly Detection]
F --> G{User Selects Next Action}
G -->|Conversational Q&A| H[Chat with Data] H --> H1[Export Chat + SQL + Results]
G -->|SQL Analysis| I[AI SQL Generator + Visual Query Builder] I --> I1[Export SQL Queries + Tables]
G -->|Visualization Studio| J[Auto Chart Suggestions + Dashboard Builder] J --> J1[Export Charts/Dashboards]
G -->|Power BI Analyst| K[KPI Metrics + DAX + Connectors] K --> K1[Export for Power BI]
G -->|Machine Learning Analyst| L[AutoML Model Builder + Predictions] L --> L1[Export Models + Predictions]
H1 --> Z[End: Download Reports] I1 --> Z J1 --> Z K1 --> Z L1 --> Z
Below is the end-to-end workflow of how the app works, represented as a graph of nodes (states) and edges (decisions/actions):
flowchart TD
%% START
A[π Start App\nUser Opens Streamlit App] --> B[π Upload Data\n(CSV/Excel)]
%% DATA UPLOAD
B --> C{β
File Uploaded?}
C -->|No| B
C -->|Yes| D[π Preprocessing\nType inference, missing values, date parsing]
%% CLEANING & TRANSFORMATION
D --> E[π§Ή Data Cleaning\nFilter, fill, drop, type change]
E --> F[π Automated Insights\nStats + Anomaly Detection + LLM insights]
%% BRANCH OPTIONS
F --> G{π Next Step?}
%% Conversational Exploration
G -->|π¬ Chat with Data| H[π€ Conversational Q&A\nMulti-turn memory, export chat]
%% SQL
G -->|π§βπ» SQL Analysis| I[ποΈ SQL Query Generator\nAI query + visual builder + versioning]
%% Visualization
G -->|π Visualization| J[π¨ Visualization Studio\nAuto charts + dashboard builder]
%% Power BI
G -->|π Power BI Analyst| K[β‘ Power BI Tools\nDAX, metrics, connector hub]
%% Machine Learning
G -->|π€ ML Analyst| L[π§ AutoML Model Builder\nTrain, explain, predict, export]
%% Endpoints
H --> Z[β
Download Results]
I --> Z
J --> Z
K --> Z
L --> Z
%% END
Z --> X[π End Session / Export Data & Reports]
-
π Launch App β User opens the Streamlit app (live demo).
-
π Upload Data β CSV/Excel file uploaded.
-
π Preprocessing β Automatic type detection, missing value handling, date parsing.
-
π§Ή Cleaning β User interacts to clean/transform data.
-
π Insights β LLM + stats engine provides anomalies & insights.
-
Decision Node β User chooses next action:
- π¬ Chat β Natural language exploration.
- ποΈ SQL β AI-powered SQL queries & visual builder.
- π¨ Visualization β Build charts/dashboards.
- β‘ Power BI β Advanced BI & DAX scripts.
- π§ ML Analyst β Train AutoML models.
-
β Export β Download insights, dashboards, queries, models.
-
π End β Session complete, reports ready to share.
Abhi Yadav This project is actively evolving. Future updates will bring:
- More visualization templates.
- Deeper integrations with BI tools (Tableau, Power BI cloud).
- Natural language β dashboard automation.
- Real-time data streaming support.
π Try it here: data-analyst-ai-agent.streamlit.app
- Optionally, export the diagram from https://mermaid.live as a PNG/SVG and upload it to your repo
/assets/folder.
|
This project is licensed under MIT. |
Created by: Abhishek Kumar
π§ Email: abhiydv23096@gmail.com
π LinkedIn: Abhishek Kumar
π GitHub Profile: @abhishekkumar62000
Don't forget to give A star to this repository β
ππ» All Set! π


