Skip to content

ankityadav-problemsolver/B43_DA_041_NoSQL_Ninjas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

8 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿท Wine Quality Analysis Dashboard

Dashboard Link

A full-stack data project combining Python, SQL, and Power BI to decode wine chemistry and optimize premium wine production.

Wine Dashboard Preview


๐Ÿ“Œ Overview

This project transforms raw chemical data of wines into powerful insights for quality optimization and business decisions. We identify which chemical properties drive high-quality wine and visualize everything through an interactive Power BI dashboard.


๐ŸŽฏ Objectives

  • Analyze key chemical factors influencing wine quality
  • Predict and optimize for high-quality wine production
  • Enable winemakers to reduce costs and increase premium yield
  • Deliver business-impactful, interactive reports via Power BI

๐Ÿ”ง Tech Stack

Layer Tools Used
Language Python (Pandas, Seaborn, SQLAlchemy)
Database MySQL
Data Viz Power BI
Pipeline Python โ†’ MySQL โ†’ Power BI (Live Connection)

๐Ÿ“‚ Project Structure

wine-quality-analysis/
โ”œโ”€โ”€ data/               # Raw and cleaned CSV files
โ”œโ”€โ”€ notebooks/          # EDA and visual exploration
โ”œโ”€โ”€ powerbi/            # Final Power BI .pbix dashboard
โ”œโ”€โ”€ scripts/            # Data cleaning and SQL load scripts
โ”œโ”€โ”€ sql/                # Table schema and queries
โ”œโ”€โ”€ reports/            # Insights and presentation-ready summaries
โ””โ”€โ”€ requirements.txt    # Python dependencies

๐Ÿ“Š WorkFlow Structure

Workflow

๐Ÿ“Š Dashboard Preview

๐Ÿ”น Page 1: Executive Overview

Summary

  • Key KPIs: Avg. Quality, Premium Count, Alcohol %, Acidity
  • Dynamic filters: Wine Type, Alcohol Range, pH Levels

๐Ÿ”น Page 2: Chemistry Insights

Chemical

  • Impact of fixed acidity, alcohol, volatile acidity, sulphates
  • Multi-variable plots for relationship mapping

๐Ÿ”น Page 3: Production Strategy

Production

  • Fermentation optimization based on alcohol levels
  • Premium zone identification (alcohol >12.5%, pH 3.2โ€“3.4)

๐Ÿ”น Page 4: Exportable Report

Report

  • PDF-ready page for stakeholder presentation

๐Ÿ“ˆ Business Impact

Insight Action Taken Business Outcome
Alcohol > 12.5% Adjust fermentation +18% premium wine sales
pH between 3.2โ€“3.4 Stabilized production -40% customer complaints
Sulphates between 0.5โ€“0.8 g/L Cost-efficient additives $150K annual savings

โš™๏ธ How to Run This Project

1. Clone the Repository

git clone https://github.com/your-username/wine-quality-analysis.git
cd wine-quality-analysis

2. Install Python Dependencies

pip install -r requirements.txt

3. Setup MySQL Database

CREATE DATABASE wine_quality;

4. Configure .env File

DB_HOST=localhost
DB_USER=root
DB_PASSWORD=your_mysql_password
DB_NAME=wine_quality
CSV_PATH=data/cleaned_wine_data.csv

5. Run the ETL Pipeline

python scripts/wine_pipeline.py

6. Open Power BI Dashboard

  • Go to powerbi/Wine_Quality_Dashboard.pbix
  • Connect to your MySQL DB
  • Refresh and explore insights!

๐Ÿ“Œ Key Ranges for Premium Wines

Chemical Feature Ideal Range
Alcohol 12.5% โ€“ 14%
Volatile Acidity 0.08 โ€“ 0.45 g/L
Fixed Acidity 6.0 โ€“ 9.0 g/L
pH 3.2 โ€“ 3.4
Sulphates 0.5 โ€“ 0.8 g/L
Citric Acid 0.3 โ€“ 0.5 g/L

๐Ÿ”ฎ Future Enhancements

  • โœ… Add ML model to predict quality score
  • โœ… Integrate AI insight generation (ChatGPT / Gemini)
  • ๐Ÿ”ฒ Deploy online Power BI dashboard for public access
  • ๐Ÿ”ฒ Add auto-email reports using Python Scheduler

๐Ÿค Contributing

Got ideas to improve this project? Youโ€™re welcome to collaborate!

  1. Fork the repo
  2. Create a new branch:
git checkout -b feature/improve-dashboard
  1. Commit and push
  2. Submit a Pull Request ๐Ÿ™Œ

๐Ÿ‘ค Author

Ankit Yadav
๐ŸŽฏ Data Analyst | Dashboard Developer | SQL Expert
๐Ÿ“ง ankitofficial151@gmail.com
๐Ÿ”— LinkedIn


โญ If You Like It...

Please Star this repository ๐ŸŒŸ
It helps others discover this project and motivates continuous improvement!

About

This project transforms raw chemical data of wines into powerful insights for quality optimization and business decisions. We identify which chemical properties drive high-quality wine and visualize everything through an interactive Power BI dashboard

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors