DataSenseAI is a Streamlit-based application that leverages the Google Gemini API to provide intelligent insights and visualizations on user-uploaded datasets. The app allows users to upload CSV files, explore data summaries, generate AI-powered insights, and visualize data trends.
- Upload Datasets: Upload CSV files to analyze.
- Data Summary: Generate a quick summary of the dataset, including basic statistics.
- AI Insights: Use the Google Gemini API to provide intelligent insights and interpretations of the data.
- Custom Visualizations: Visualize data using Box Plots, Violin Plots, Bar Charts, and Scatter Plots.
- Export Insights: View and analyze insights directly in the app.
-
Clone the Repository:
git clone https://github.com/mojmo/DataSenseAI.git cd DataSenseAI
-
Install Dependencies:
pip install -r requirements.txt
-
Set up Google Gemini API:
- Go to the Google AI for Developers.
- Create a
.env
file in the root directory of the project and add your API key:
GEMINI_API_KEY=your_api_key_here
-
Run the Application:
streamlit run app.py
You can access the app at
http://localhost:8501
in your web browser.
-
Upload a Dataset
- Click the "Upload your dataset" button and select a CSV file.
-
Explore Data
- The app will display a preview of the dataset.
- Use the "Data Summary" section to get a quick overview of the data.
- Use the "Full Dataset" section to view the entire dataset.
-
Select Columns to Visualize
- Select the columns you want to visualize.
- You can choose to visualize the data for a single column or two columns at once.
-
Generate Insights
- Click the "Generate Insights" button to generate AI-powered insights.
- The app will display the insights in the Insights section.
-
Visualize Data
- Use the "Select X-axis (optional)" and "Select Y-axis" dropdowns to select the columns you want to visualize.
- You can choose to visualize the data for a single column or two columns at once.
- The app will display the visualization in the Insights section.
You can try the app by uploading a CSV file and exploring the data. Here's a demo of the app in action:
DataSenseAI.mp4
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request on the GitHub repository.
This project is licensed under the MIT License. See the LICENSE file for details.