This project is a Data Analysis Dashboard built using Flask, Bootstrap, Seaborn, and Matplotlib. It allows users to upload datasets, analyze them interactively, and visualize various features using machine learning models and exploratory data analysis tools.
- Upload Dataset: Users can upload CSV files for analysis.
- Target Variable Analysis:
- Choose a target variable for analysis.
- Generate correlation heatmaps, pairplots, and distribution plots.
- Data Exploration:
- View summary statistics for numeric and non-numeric columns.
- Explore feature correlations.
- Detect and handle missing values.
- Detect and handle outliers.
- Machine Learning:
- Predict outcomes based on a simple regression or classification model.
- Display model scores for the target variable.
- Dark/Light Theme Toggle: Switch between themes for better usability.
- Python 3.7 or above
- pip
- Virtual environment (recommended)
-
Clone the repository:
git clone https://github.com/your_username/data-analysis-dashboard.git cd data-analysis-dashboard -
Create and activate a virtual environment:
python3 -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Run the application:
python app.py
-
Open your browser and navigate to:
http://127.0.0.1:5000/
- Upload a CSV file using the Upload Dataset section.
- Select a target variable for analysis in the Choose Target Variable section.
- Use the Explore Your Data section to:
- View summary statistics.
- Check correlations.
- Explore distributions.
- Handle missing values and outliers.
- Visualize data using heatmaps, pairplots, and distribution plots in the Data Visualizations section.
- Use the Prediction Section to make predictions based on the dataset and target variable.
project-folder/
├── app.py # Main Flask app
├── static/
│ ├── styles.css # Custom CSS
│ ├── script.js # JavaScript logic
├── templates/
│ ├── index.html # Main HTML template
├── uploads/ # Uploaded datasets
├── requirements.txt # Python dependencies
├── README.md # Project documentation
- Backend: Flask
- Frontend: HTML, CSS (Bootstrap), JavaScript
- Visualization: Matplotlib, Seaborn
- Machine Learning: Scikit-learn
Contributions are welcome! To contribute:
- Fork the repository.
- Create a new branch for your feature or bug fix:
git checkout -b feature-name
- Commit your changes:
git commit -m "Description of your changes" - Push to your branch:
git push origin feature-name
- Open a pull request.
For any questions or feedback, feel free to reach out:
- GitHub: sneMoDi
Happy Analyzing! 🎉