Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

🌍 Climate Change and Agriculture Analysis

This project analyzes how climate change impacts agriculture across different countries and regions. Using statistical analysis and visualizations, it explores the relationships between climate variables (temperature, precipitation, CO2 emissions, extreme weather events) and agricultural outcomes (crop yield, soil health, economic impact).


📌 Features & Analysis

  • Data Cleaning & Preprocessing

    • Loaded agricultural and climate dataset.
    • Handled categorical and numerical features.
  • Exploratory Data Analysis (EDA)

    • Average Temperature by Region (bar chart).
    • Crop Yield Over Years (line chart).
    • Crop Type distribution (pie chart).
    • Distribution of CO2 Emissions (histogram).
    • Crop Yield by Country (box plot).
    • Correlation Matrix of numeric variables (heatmap).
    • CO2 Emissions vs. Crop Yield (scatter plot).
    • Pairwise relationships among features (pairplot).
    • Economic Impact by Region (box plot).
    • Irrigation Access by Crop Type (violin plot).
    • Extreme Weather Events by Region (count plot).

🛠️ Tech Stack

  • Python
  • Pandas – data manipulation
  • Matplotlib & Seaborn – visualizations

📊 Key Insights

  • Rising CO2 emissions and extreme weather events have a negative impact on crop yield.
  • Irrigation access varies significantly by crop type and region.
  • Regions with higher average temperatures face reduced soil health and crop yields.
  • Climate change leads to measurable economic losses in agriculture.

🚀 How to Run

  1. Clone this repository:
    git clone https://github.com/your-username/climate-change-agriculture-analysis.git
    cd climate-change-agriculture-analysis

Install dependencies: pip install -r requirements.txt Run the notebook: jupyter notebook "Climate Change and Agriculture Analysis( Major Project ).ipynb" 📌 Future Improvements Apply machine learning models to predict crop yield under different climate scenarios. Conduct region-specific deep dives for targeted insights.

📂 Project Structure Climate Change and Agriculture Analysis/ │── Climate Change and Agriculture Analysis( Major Project ).ipynb # Main notebook │── climate_change_impact_on_agriculture_2024.csv # Dataset │── requirements.txt # Dependencies │── README.md # Documentation

About

This project analyzes the impact of climate change on agricultural productivity using real-world datasets. The study examines how factors such as average temperature, rainfall, CO₂ emissions, irrigation access, and fertilizer use influence crop yields across regions and countries.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages