Skip to content

πŸ“Š Agri Data Explorer – A Data Science mini project using Python, Streamlit, Plotly, SciPy, and Power BI to analyze and visualize Indian agricultural data with SQL integration.

License

Notifications You must be signed in to change notification settings

Infant-Joshva/Project_2-Agri_Data_Explorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

67 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌾 Agri Data Explorer

A Mini Project to analyze Indian agricultural datasets using Python, Pandas, SciPy, Plotly, Streamlit, and Power BI.
It provides statistical insights and interactive dashboards for understanding trends in crop production, yield, and cultivated area.


πŸš€ Key Features

  • πŸ” Exploratory Data Analysis via Streamlit
  • πŸ“ˆ Interactive visualizations using Plotly
  • πŸ“Š Power BI Dashboard for state/district level insights
  • πŸ§ͺ Statistical computations with SciPy
  • πŸ’Ύ CSV & PostgreSQL support via SQLAlchemy
  • ☁️ Google Colab notebooks for EDA and preprocessing

πŸ› οΈ Tech Stack

Python Pandas SQLAlchemy PostgreSQL Plotly NumPy SciPy Google%20Colab Streamlit Power%20BI


πŸ“ Project Structure

Project_2-Agri_Data_Explorer/
β”œβ”€β”€ app/                # Streamlit app code
β”‚   └── main.py
β”œβ”€β”€ data/               # Raw and cleaned datasets
β”œβ”€β”€ scripts/            # ETL scripts
β”œβ”€β”€ dashboards/         # Power BI .pbix files
β”œβ”€β”€ notebooks/          # Google Colab notebooks
β”œβ”€β”€ images,videos/      # Visuals for dashboard & Project demonstration video
β”œβ”€β”€ requirements.txt    # Python dependencies
β”œβ”€β”€ README.md           # Project documentation
β”œβ”€β”€ LICENSE             # Open-source license
└── .gitignore          # Files to be ignored by Git

πŸ“Š Streamlit Dashboard Preview

πŸ“Œ Rice vs Wheat Production Over the Last 50 Years

Rice vs Wheat Production


πŸ“Œ Impact of Area Cultivated on Rice, Wheat, and Maize Production

Impact of Area Cultivated


πŸ“Š Power BI Dashboard

πŸ“ Located in the dashboards/ folder

πŸ“Œ Power BI Dashboard Preview

Power BI Preview

Power BI Preview

Power BI Preview


πŸ§ͺ Sample Insights

  • πŸ“ˆ Year‑wise trend of rice production across top 3 states
  • 🌾 Districts with highest wheat yield in last 5 years
  • πŸ›’οΈ Top oilseed producing states and their growth
  • 🌽 Area vs. production correlation for major crops
  • 🧡 Cotton production trends and groundnut yield by district

πŸ”§ Installation & Running

1. Clone the repository

git clone https://github.com/Infant-Joshva/Project_2-Agri_Data_Explorer.git
cd Project_2-Agri_Data_Explorer

2. Create virtual environment

python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate

3. Install Python dependencies

pip install -r requirements.txt

πŸ“ Requirements

The following Python libraries are required:

  • pandas
  • scipy
  • plotly
  • streamlit
  • sqlalchemy
  • psycopg2-binary

4. Run the Streamlit app

streamlit run app/main.py

πŸ“š Data Sources

  • India agricultural datasets
  • Custom CSV/Excel files based on domain data


πŸ“œ License

This project is licensed under the MIT License.
See the LICENSE file for full text.


πŸ‘€ Author

Project developed by Infant Joshva A

πŸ“§ [email protected]
πŸ™ GitHub
πŸ”— LinkedIn

⭐ Give a Star!

If you liked this project, please give it a ⭐ on GitHub!

About

πŸ“Š Agri Data Explorer – A Data Science mini project using Python, Streamlit, Plotly, SciPy, and Power BI to analyze and visualize Indian agricultural data with SQL integration.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published