An open-source, interactive, and beautiful COβ data visualization tool built with Next.js, TypeScript, Tailwind CSS, and Recharts.
Explore historical COβ emissions trends, growth, and energy insights by country. Designed to inform, engage, and empower users with real-time, dynamic visual data β all while contributing to global climate awareness.
Hereβs a video showing how the platform works:
.
βββ app/
β βββ page.tsx # Main Chart Page
β βββ components/
β βββ SummaryStats.tsx # Summary metrics section
βββ data/
β βββ owid-co2-data.json # Raw CO2 data (from Our World In Data)
βββ lib/
β βββ data.ts # Data utility functions (filtering, sorting, etc.)
βββ public/
β βββ assets/ # Images and static assets
βββ styles/
β βββ globals.css # Global Tailwind styles
βββ types/
β βββ co2.ts # CO2 data TypeScript types
βββ README.md # You're here!
βββ package.json
βββ tsconfig.json
Tech | Description |
---|---|
Next.js 15+ | App directory, Server Components |
TypeScript | Strong typing across the app |
Tailwind CSS | Utility-first modern styling |
Recharts | Beautiful data visualization |
React Select | Dropdown country filter |
OWID COβ JSON | Open-source data format |
git clone https://github.com/ndalo-ben/climate-co2-tracker.git
cd climate-co2-tracker
npm install
# or
yarn install
npm run dev
# or
yarn dev
Open your browser at http://localhost:3000
We recommend Vercel for instant deployment:
npx vercel
Or deploy with any platform that supports Next.js 14+.
We welcome contributions from the community! Hereβs how you can help:
MIT License Β© 2025 Benard Ouma
Data is licensed under CC BY 4.0
Weβre building this with the intent to educate, inspire, and spark change. If you believe in open data, climate transparency, and using technology for good β star the repo, contribute, and help us make an impact.
π¬ Questions, ideas, or partnerships? Reach out via GitHub Discussions or open an issue.
If you like the project:
#CO2Explorer
Letβs build for the planet. One line of code at a time.
πΏ