Datasets
Standard Dataset
CO2 Emissions Insights: Visualising the Top 25 Global Emitters

- Citation Author(s):
- Submitted by:
- RAMKUMAR Yaragarla
- Last updated:
- Wed, 02/19/2025 - 10:51
- DOI:
- 10.21227/ngq6-yj85
- Data Format:
- Research Article Link:
- License:
- Categories:
- Keywords:
Abstract
CO2 Emissions Data Visualization Project – I Hug Trees
The I Hug Trees CO2 emissions project is a data-driven initiative that visualizes global carbon footprints using interactive treemaps and bar charts. The dataset, sourced from UN Data, contains CO2 emissions figures for the top 25 highest-emitting countries, extracted from a larger global dataset. This structured CSV dataset categorizes emissions by country, industry, and energy source, enabling comparative analysis and trend identification. Built with D3.js, the platform provides an intuitive interface for researchers, policymakers, and environmental advocates. Future plans include AI-driven predictive modeling and open APIs to enhance accessibility and collaboration for climate action.
CO2 Emissions Data Visualization Project
Overview
The I Hug Trees CO2 Emissions Data Visualization Project is an initiative to provide interactive insights into global carbon emissions. Using structured datasets and dynamic visualizations, this project aims to help researchers, policymakers, and environmentalists analyze CO2 emission trends across the top 25 highest-emitting countries from 1975 to 2021.
Dataset Description
- File Name: co2-wide
.csv
- Source: Extracted from a larger dataset available in UN Data
- Format: CSV (Comma-Separated Values)
- Contents:
Country
: Name of the country1975 - 2021
: Yearly CO2 emissions in Thousand Metric tons
How to Use the Dataset
-
Load the CSV File:
- Using Python (Pandas):
import pandas as pd df = pd.read_csv("co2-wide.csv") print(df.head())
- Using Excel/Google Sheets:
- Open Excel or Google Sheets, navigate to File > Import, and select
co2-wide.csv
- Open Excel or Google Sheets, navigate to File > Import, and select
- Using Python (Pandas):
-
Visualizing the Data:
- The dataset is structured to be used in D3.js for treemaps and bar charts.
- If using Python:
import matplotlib.pyplot as plt df.set_index("country").T.plot(kind='line', figsize=(12,6)) plt.show()
-
Filtering Data:
- To filter emissions for a specific country:
df_usa = df[df["country"] == "United States"] print(df_usa)
- To filter emissions for a specific country:
Data Visualization
This dataset is used within the I Hug Trees platform to create:
- Treemaps: Showing the relative CO2 contributions of different countries
- Bar Charts: Comparing emissions trends over years
- Trend Analysis: Visualizing changes in emissions over time
Embed the Visualizations
You can embed the interactive visualizations directly into your website using the following codes:
Treemap Embed Code:
Copy and paste the following code into your website:
<iframe src="https://ihugtrees.org/data-analytics/co2-emissions-treemap-embed.html"
width="960" height="600"
style="border:none;"
allowfullscreen></iframe>
Bar Chart Embed Code:
Copy and paste the following code into your website:
<iframe src="https://ihugtrees.org/data-analytics/co2-emissions-barchart-embed.html"
width="960" height="600"
style="border:none;"
allowfullscreen></iframe>
Future Enhancements
- AI-based CO2 predictions using historical data
- Open API access for researchers and policymakers
- Expanded dataset coverage beyond the top 25 countries
License
This dataset is released under the Creative Commons Attribution 4.0 International (CC BY 4.0) license. You are free to use, share, and modify it with proper attribution to I Hug Trees.
Contact
For any queries or contributions, please reach out via I Hug Trees - Data Analytics or email nature@ihugtrees.org