EcoTrack: Carbon Footprint Tracker
Submitted in Partial Fulfilment of the Requirements for the
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
GUIDED BY
Mr. R. MANOJ KUMAR, M.E
Department of Computer Science and Engineering
PAAVAI COLLEGE OF ENGINEERING
NH-44, PACHAL, NAMAKKAL - 637018
PAAVAI COLLEGE OF ENGINEERING
NAMAKKAL
BONAFIDE CERTIFICATE
Certified that this Naan Mudhalvan report on “CARBON FOOTPRINT
TRACKER” is the Bonafide record of work done by ANBUCHELVAN. V. K
(622022104004) practical fulfilment for the award of “DEPARTMENT OF
COMPUTER SCIENCE AND ENGINEERING” by the ANNA UNIVERSITY,
Chennai.
Submitted for the board examination held on
Internal Guide Head of the department
Internal Examiner External Examiner
ACKNOWLEDGEMENT
Apart from the efforts of us, the success of any project depends largely on the encouragement
and guidelines of many others. We take this opportunity to express the gratitude to the people
who have been instrumental in the successful completion of this Project plan.
We take immense pleasure in thinking respected Trust and respected Chairman
[Link], [Link], FCA, and also our respected correspondent
[Link] NATARAJAN, [Link]., for having permitted us to carry out this Project.
We express our thanks and gratitude to our beloved Principal Dr. V. HARIHARAN, M.E,
(Ph.D.), for extending his support and permit us to do this Project.
We are highly indebted to Mr. R. MURUGESAN, M.E, (Ph.D.) Head of the Department of
Computer Science and Engineering for their guidance and constant supervision as well as for
providing necessary information regarding the Project & also for their support in completing
the report.
We also express our sincere thanks to our esteemed under guide of Naan Muthalvan
Co-ordinator Mr. R. MANOJ KUMAR, M.E (Faculty In charge) for his valuable
suggestions while doing this report.
We would like to express our gratitude to all staffs of PAAVAI COLLEGE OF
ENGINEERING.
Finally, yet important, we would like to express our heartfelt thanks to our beloved parents
for their blessings, our classmates for their help and wishes for the successful completion of
this business plan report.
TABLE OF CONTENTS
Title Page
Abstract 1
Introduction 3
System Requirements 2
Program 3
Output 6
References 7
Result 8
ABSTRACT:
EcoTrack is a web-based tool designed to help individuals assess their
daily carbon footprint based on transportation, food consumption, and
electricity usage. By leveraging predefined emission factors, the application
calculates CO₂ emissions and provides actionable recommendations to promote
eco-friendly habits. With interactive inputs, personalized insights, and
graphical representations, EcoTrack empowers users to make informed
decisions that contribute to a more sustainable future.
As climate change continues to be a global challenge, understanding individual
carbon emissions has become essential. Transportation, food choices, and
electricity consumption are major contributors to greenhouse gas emissions,
impacting the environment. EcoTrack aims to simplify carbon footprint tracking
by offering a user-friendly platform that calculates emissions and suggests
sustainable alternatives based on user inputs.
Features & Functionality:
1. Carbon Footprint Calculation
Users enter distance travelled, mode of transport, meal type, and
electricity consumption.
The tool applies predefined emission factors to compute daily CO₂
emissions.
2. Personalized Sustainability Tips
Based on user choices, EcoTrack recommends ways to reduce emissions:
Switching to public transport or biking.
Choosing more plant-based meals.
Using energy-efficient appliances.
3. Interactive Visualization
A pie chart illustrates the breakdown of carbon emissions by transport,
meals, and electricity.
Users can easily identify the most impactful areas for improvement.
Technical Implementation
EcoTrack is built using Streamlit for an interactive web interface,
pandas for data management, and Matplotlib for graphical representation. The
system dynamically adjusts based on user input, ensuring real-time feedback
and accurate results.
Environmental Impact & Awareness:
Encourages individuals to take responsibility for their emissions.
Provides data-driven solutions for carbon reduction.
Helps foster a sustainability-conscious community.
EcoTrack serves as a valuable tool in promoting environmental awareness
and responsible living. By tracking emissions and offering meaningful insights,
the application empowers users to adopt greener lifestyle choices and
contribute to global efforts in reducing carbon footprints
INTRODUCTION:
Climate change is one of the most pressing global challenges, with carbon
emissions from daily activities contributing significantly to environmental
degradation. Transportation, food consumption, and electricity usage are key
sources of carbon emissions that impact air quality and contribute to global
warming. Understanding and tracking individual carbon footprints is an
important step toward adopting sustainable practices and reducing
environmental impact.
EcoTrack: Carbon Footprint Tracker is a web-based tool designed to
help individuals assess their daily carbon emissions through an intuitive
interface. By leveraging predefined emission factors, this application
calculates CO₂ emissions and provides personalized recommendations to
promote eco-friendly habits. Users can input their daily activities, such as the
mode of transport, meal choices, and electricity consumption, to receive instant
feedback on their environmental impact.
EcoTrack not only offers carbon footprint calculations but also presents
visual breakdowns of emissions to help users understand which aspects of their
lifestyle contribute most to their footprint. By translating raw data into
meaningful insights, the application fosters environmental awareness and
encourages users to make informed, sustainable choices.
Understanding Carbon Footprints:
A carbon footprint refers to the total amount of greenhouse gases,
primarily carbon dioxide (CO₂), generated by human activities. Every aspect
of modern life—from commuting and diet to energy consumption—has a
measurable impact on the environment. Transportation is a major contributor,
particularly the use of private vehicles, which tend to emit significantly more
CO₂ compared to public transport or biking. Similarly, diet plays a crucial role,
with meat-based meals generally producing more emissions than vegetarian
alternatives due to the higher resource consumption associated with livestock
farming. Electricity usage, especially from non-renewable sources, also
contributes heavily to an individual’s overall footprint.
EcoTrack simplifies the process of carbon tracking by providing a
straightforward interface where users can input their activity details. By
applying standard emission factors, the tool calculates total emissions and
generates actionable insights to help users reduce their footprint.
How EcoTrack Works?
EcoTrack allows users to enter details about their daily habits, including:
Distance travelled and the mode of transport used.
Food consumption, distinguishing between vegetarian and meat-based
meals.
Electricity usage, measured in kilowatt-hours (kWh).
Using predefined emission factors, the application computes the
estimated daily carbon footprint and presents it in kilograms of CO₂.
Additionally, EcoTrack provides sustainability recommendations, offering
users practical tips to lower their impact—such as switching to public
transport, reducing meat consumption, and using energy-efficient
appliances.
One of the standout features of EcoTrack is its visual representation of
emissions. By generating a pie chart, the tool illustrates the proportion of
emissions from different sources, helping users identify the areas that contribute
most to their footprint.
Why EcoTrack Matters?
Raising awareness about carbon emissions is essential in the fight
against climate change. While industries and governments are implementing
large-scale sustainability initiatives, individual contributions matter just as
much. With easy-to-use tools like EcoTrack, people can track their impact and
take small but meaningful steps toward a greener future.
By providing real-time feedback and data-driven insights, EcoTrack
fosters a deeper understanding of sustainability and helps users make conscious
choices in their daily lives. Whether it's opting for public transport, making
dietary changes, or reducing electricity consumption, small adjustments can
collectively create significant environmental benefits.
Through education, awareness, and action, individuals can reduce their
carbon footprint, contribute to global sustainability efforts, and embrace a
more eco-conscious lifestyle.
SYSTEM REQUIREMENTS:
To run EcoTrack: Carbon Footprint Tracker, ensure your system
meets the following requirements:
Hardware Requirements:
Processor: Intel Core i3 or higher / AMD equivalent
RAM: Minimum 4GB (Recommended: 8GB for smooth performance)
Storage: At least 500MB of free disk space
Graphics: Integrated or dedicated GPU (for rendering graphs)
Network: Internet connection (for dependency installation)
Software Requirements:
Operating System: Windows 10/11, macOS, or Linux
Python Version: Python 3.8 or higher
Required Libraries: streamlit (for UI components), pandas (for data
management), matplotlib (for graphical representation).
Installation Steps:
1. Install Python (if not already installed).
2.
3. Use the following command to install required libraries:
“pip install streamlit pandas matplotlib”
4. Save the EcoTrack script ({file_name}.py).
5. Run the application with:
“streamlit run {file_name}.py”
PROGRAM:
import streamlit as st
import pandas as pd
import [Link] as plt
emission_factors = {
'car_km': 0.2,
'bus_km': 0.1,
'bike_km': 0,
'veg_meal': 1.0,
'meat_meal': 2.5,
'electricity_kwh': 0.5
}
def calculate_emissions(distance, mode, meal, electricity):
total = 0
total += emission_factors[f'{mode}_km'] * distance
total += emission_factors[f'{meal}_meal']
total += emission_factors['electricity_kwh'] * electricity
return round(total, 2)
def get_recommendation(mode, meal):
tips = []
if mode == 'car':
[Link]("Try using public transport or biking.")
if meal == 'meat':
[Link]("Consider reducing meat consumption.")
[Link]("Use energy-efficient appliances to lower electricity usage.")
return tips
[Link]("EcoTrack: Carbon Footprint Tracker")
[Link]("Enter Your Daily Activities")
distance = [Link]("Distance traveled (km):", 0, 100, 10)
mode = [Link]("Mode of transport:", ['car', 'bus', 'bike'])
meal = [Link]("Main meal type:", ['meat', 'veg'])
electricity = [Link]("Electricity used (kWh):", 0, 50, 5)
if [Link]("Calculate Footprint"):
footprint = calculate_emissions(distance, mode, meal, electricity)
[Link](f"Your estimated daily carbon footprint: {footprint} kg CO2")
tips = get_recommendation(mode, meal)
[Link]("Suggestions to Reduce Your Footprint:")
for tip in tips:
[Link]("-", tip)
# Basic visualization
labels = ['Transport', 'Meal', 'Electricity']
values = [emission_factors[f'{mode}_km'] * distance,
emission_factors[f'{meal}_meal'],
emission_factors['electricity_kwh'] * electricity]
fig, ax = [Link]()
[Link](values, labels=labels, autopct='%1.1f%%')
ax.set_title("Carbon Emission Breakdown")
[Link](fig)
OUTPUT:
CONCLUSION:
EcoTrack is a powerful and accessible tool designed to bridge the gap
between environmental awareness and action. It empowers individuals to
track, understand, and reduce their carbon footprint by analysing daily
activities such as transportation choices, dietary preferences, and electricity
consumption. By providing real-time calculations, personalized
recommendations, and intuitive visualizations, the application transforms
abstract sustainability concepts into tangible insights that users can act upon.
One of EcoTrack’s core strengths is its data-driven approach to
environmental impact measurement. Unlike generic sustainability advice,
EcoTrack gives precise estimates of carbon emissions based on user inputs,
enabling informed decision-making. Whether it’s choosing public transport
over private vehicles, opting for plant-based meals, or improving energy
efficiency, the platform offers practical strategies for minimizing
environmental impact.
Beyond individual action, EcoTrack serves a greater purpose—helping
users recognize their role in the global effort to combat climate change. Small
lifestyle adjustments can collectively lead to significant reductions in
greenhouse gas emissions, fostering a culture of sustainability. By making
carbon footprint tracking engaging, interactive, and actionable, EcoTrack
encourages users to become active contributors in building a healthier planet.
The application’s technical design, built with Streamlit, Python,
Pandas, and Matplotlib, ensures an intuitive and seamless experience for
users. Its integration of interactive UI components, dynamic calculations,
and visually compelling charts makes sustainability tracking not just
informative but also engaging. Users can not only estimate their emissions but
also visualize their impact and identify areas where meaningful change can be
made.
Ultimately, EcoTrack is more than just a tool—it’s a catalyst for
change. It transforms knowledge into action, giving users the confidence to
embrace eco-friendly habits that make a difference. By promoting conscious
decision-making, fostering sustainability education, and encouraging a
proactive approach to environmental conservation, EcoTrack becomes an
integral part of individual efforts to create a greener future.
Every action—no matter how small—contributes to a collective
movement towards sustainability. With EcoTrack, users are equipped to take
responsible steps that reduce emissions, improve personal environmental
responsibility, and ultimately help protect the planet for future generations.
REFERENCE:
Here are some references that helped us to understand and refine our
EcoTrack project:
1. Streamlit Documentation – [Link]
o Official documentation for building interactive applications with Streamlit.
2. Pandas Documentation – [Link]
o Useful for handling and processing data in your application.
3. Matplotlib Documentation –
[Link]
o Essential for creating visualizations like pie charts for carbon footprint
breakdown.
4. Carbon Footprint Calculators –
o Various resources such as [Link] can provide
insights into emission calculations and sustainability practices.
5. Carbon Footprint Emission Data –
o Various resources which provided us the emission amount and data for various
sources.