0% found this document useful (0 votes)
218 views9 pages

Climate Change Analysis Project

Uploaded by

Shlok Agarwal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
218 views9 pages

Climate Change Analysis Project

Uploaded by

Shlok Agarwal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 9

Informatics Practices

Project
Analysis of Climate Change Effects Using
Python Data Visualization

Acknowledgement
I would like to express my special thanks to my teacher
for their guidance and support in completing this
project. I also thank my parents and friends who helped
me in completing the project within the given time.

Certificate
This is to certify that the student has successfully
completed the project titled 'Analysis of Climate Change
Effects Using Python Data Visualization' under the
guidance of the teacher.
Index Page

Sr. Page
Section
No. No.
1 Cover Page 1
2 Index 2
3 Introduction 3
Project
4 4
Objectives
Tools and
5 5
Technologies
6 Data Sources 6
Visualizations
7 7
and Analysis
Conclusions
8 10
and Insights
9 References 11

Introduction
Climate change is one of the most critical global
challenges of our era, with significant
consequences on the environment, economy, and
human society. The rise in global temperatures,
increasing carbon dioxide (CO₂) emissions, and
sector-specific greenhouse gas contributions have
accelerated the impact of climate change.
This project leverages Python for analyzing and
visualizing climate-related data to gain insights
into:
1. Trends in global temperature increase over
the years.
2. CO₂ emissions by various countries.
3. Contributions of different sectors to total
greenhouse gas emissions.
By using Python libraries such as Pandas and
atplotlib this project presents findings in a clear
and accessible visual format. Such data-driven
analysis plays a key role in understanding the
extent of climate change and can help inform
global action plans and policy decisions.
Dataset Overview
The dataset contains 15 records and includes
columns for Year, Temperature Increase, CO2
Emissions, and Sector-wise Emissions. Below is
the sample data used in this project.
Sample Data (CSV)
Year Temperatur Country CO2 Sector Emissions
e Increase Emissions
(°C) (Metric
Tons)
2000 0.25 USA 5000 Energy 25
2001 0.28 China 9000 Transport 30
2002 0.31 India 2000 Industry 20
2003 0.35 Russia 1500 Agriculture 15
2004 0.37 Brazil 1200 Energy 18
2005 0.4 Germany 800 Transport 22
2006 0.42 Canada 600 Industry 19
2007 0.45 UK 700 Agriculture 14
2008 0.48 Japan 1000 Energy 28
2009 0.5 Australia 650 Transport 16
2010 0.53 France 750 Industry 23
2011 0.55 Italy 770 Agriculture 17
2012 0.58 South Korea 850 Energy 24
2013 0.6 Mexico 680 Transport 21
2014 0.63 Indonesia 720 Industry 18

Python Code
Below is the Python code used for data visualization. It
includes importing libraries, reading the dataset, and
visualizing trends using line, bar, and pie charts.

import pandas as pd
import matplotlib.pyplot as plt
# Load Dataset
data = pd.read_csv('climate_data.csv')

# Line Chart: Global Temperature Increase Over Years


plt.figure(figsize=(10, 6))
plt.plot(data['Year'], data['Temperature Increase (°C)'],
marker='o', linestyle='-', color='b')
plt.title('Global Temperature Increase Over Years')
plt.xlabel('Year')
plt.ylabel('Temperature Increase (°C)')
plt.grid(True)
plt.savefig('global_temperature_increase.png') # Save
the plot
plt.show()

# Bar Chart: CO2 Emissions by Country


plt.figure(figsize=(12, 8))
plt.bar(data['Country'], data['CO2 Emissions (Metric
Tons)'], color='green')
plt.title('CO2 Emissions by Country')
plt.xlabel('Country')
plt.ylabel('CO2 Emissions (Metric Tons)')
plt.xticks(rotation=45)
plt.savefig('co2_emissions_by_country.png')
plt.show()

# Pie Chart: Contribution of Different Sectors to


Emissions
sectors = data.groupby('Sector')['Emissions'].sum()
plt.figure(figsize=(8, 8))
plt.pie(sectors, labels=sectors.index, autopct='%1.1f%
%', startangle=140, colors=plt.cm.Paired.colors)
plt.title('Emissions by Sector')
plt.savefig('emissions_by_sector.png')
plt.show()
Output
The visualizations generated include line charts
for temperature trends, bar charts for CO2
emissions by country, and pie charts for sector-
wise emissions contributions. These make it
easier to understand the effects of climate change.
Project Conclusion
This project analyzed the critical indicators of
climate change using Python and publicly
available datasets. Through data visualization, the
following key findings were observed:
Global Temperature Trends:
A clear upward trend in global temperatures over
the years highlights the accelerated warming of
our planet.
CO₂ Emissions by Country:
Developed and rapidly developing countries
account for the majority of CO₂ emissions,
necessitating international collaboration to
mitigate these emissions.
Sector-Wise Contributions:
Sectors like energy, transportation, and industry
are the largest contributors to greenhouse gas
emissions, emphasizing the need for sector-
specific interventions.
This project demonstrates the power of Python for
analyzing climate data and communicating key
findings through visualizations. By making data
more accessible, we hope to contribute to raising
awareness about the urgency of addressing
climate change.
Further work could include predictive modeling
for future temperature and emissions trends or
the development of interactive dashboards for
real-time data exploration.

You might also like