Energy Transition Tracker¶
A project for following the energy transition country by country: who emits the
most CO₂, who is cutting it, and how clean each country's electricity is. It is
built on Our World in Data's CO₂ and energy datasets, 223 countries from 1990 to
2024, lives in
examples/energy_transition
and runs offline; the data ships with it.

The launcher lists three dashboards, imported into the project's store on first start:
- Global Overview: four KPIs with the change from the year before, a world map and a ranking for the year and metric picked in the sidebar, and the largest CO₂ cuts since 2010. Clicking countries on the map narrows the trend chart, clicking bars in the ranking narrows the electricity mix, and a Continent filter above the tiles filters every view. Its report fills its prose from the tables.
- Country Profile: one country's CO₂ per person, low-carbon share, carbon intensity, electricity mix and trend, created from the project's own Country profile dashboard template.
- Clean Electricity: built by the assistant from one request, with the turn that built it kept in the dashboard file.
A page, About the Data, sits next to them.

What it shows¶
| Feature | Where in the example | How-to |
|---|---|---|
| Seeded dashboards | _dashboards/*.yaml, imported with dashboard_from_yaml in __init__.py |
Dashboard YAML |
| Project file | flowdash.yaml: general, theme, ai, permissions and components |
Project file |
| A dashboard template | templates/country-profile.yaml, offered under New dashboard |
Enable the agent |
| Global filters and Filter nodes | Continent on Global Overview; Filter by selection and Pick Country | Filter dashboards |
| Selection linking | World Map and Ranking give selection outputs | Link selections |
| Parameters and groups | first_year and year; four groups on Global Overview's canvas |
Dashboard YAML |
| Report with live prose | {{ totals_now.totals.co2:,.0f }} and a {{#each changes.changes limit=5}} list, exported to HTML or Word |
Enable the agent |
__export__ |
World Map, Trend, Ranking, Electricity Mix and Country Table | Register components |
__flowdash_provenance__ |
Country Energy & CO₂ and Change Between Years | Node actions and provenance |
| Port types | CountryYears registered as a DataFrame subtype |
Define ports |
| Component permissions | Country Table is limited to the analysts group |
Manage permissions |
| Ask and the assistant | Ask on any dashboard, the Assistant in edit mode | Enable the agent |
The example's README tells the story behind each dashboard, lists the files behind each feature and the sources, licenses and retrieval date of the data.