Skip to content

Virgo-Alpha/CarbonCalc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Carbon Calc - Carbon Footprint Calculator

Welcome to the Carbon Calc - Carbon Footprint Calculator! This Streamlit app allows users to estimate their carbon footprint based on the distance traveled between two cities. Additionally, it provides information on the environmental impact by calculating the potential harm to wildlife in terms of the number of animals that would be affected.

How to Use

  1. Select Cities: Use the sidebar to choose the departure and destination cities from the available options.

  2. Calculate: Click the "Calculate" button to perform the calculations.

  3. View Results: The app will display the total distance traveled, the amount of carbon emitted, and the potential harm to wildlife in terms of the number of animals affected.

Features

  • User Input: The sidebar provides an intuitive interface for users to input their departure and destination cities.

  • Carbon Emission Calculation: The app uses the Haversine formula to calculate the distance between the selected cities and estimates the carbon emissions based on the distance.

How to Contribute

If you would like to contribute to this project, follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature (git checkout -b feature/YourFeature).
  3. Commit your changes (git commit -m 'Add some feature').
  4. Push to the branch (git push origin feature/YourFeature).
  5. Open a pull request.

Styling

The app is designed with simplicity and user-friendliness in mind. It uses the Streamlit library for the user interface, providing a clean and responsive layout.

Feedback

If you have any feedback or suggestions, feel free to open an issue or reach out to the project maintainers.

Thank you for using Carbon Calc! Together, let's take steps towards a more sustainable future. 🌍