A React.js web application for visualising CO2 emissions since 1958.
We're currently live over at carbondoomsday.com. This application is part of the Carbon Doomsday project:
Carbon Doomsday is a real-time API and chart of worldwide carbon dioxide levels. Developed as a community project, its goal is to be an open-source platform for climate data. Data for the API and chart comes from NOAA’s Earth System Research Lab in Mauna Loa, Hawaii. The project is rooted in principles of free software, open data access and a willingness to contribute to further education on the global climate issue.
We pull our data from api.carbondoomsday.com (powered by carbondoomsday) while giving a fuck.
How to run locally
git clone
the project.- Install the dependencies using
npm i
. - Run
npm start
. - The app will run on
http://localhost:3000
.
Linting
We are using eslint and prettier, we recommend setting up your editor to format on save. But we also have a git hook which will also do the prettier formatting upon committing.
Tests
To run the tests run npm test
.
Deploy to Production
Every merged pull request to master gets auto-magically deployed.
Check the buildpack that we are using.
Graph Component
Our Chart component is an SVG component written in react.
We are using [react-svg-coordfuncs].
Contributing
We welcome all persons no matter what skill level you have!
If you're interested in contributing, we need you! Please check out the following:
- Wiki: Read about the project!
- Gitter Lobby: Come chat to us!
- Vision Repository: Weigh in and let us know your opinion!
Support
Support us with a monthly donation and help us continue our activities.