electricitymaps / electricitymaps-contrib

The open source repository for Electricity Maps App and data parser that enables a real-time visualisation of the CO2 emissions of electricity consumption
https://app.electricitymaps.com
GNU Affero General Public License v3.0
3.6k stars 946 forks source link

Compare two countries / zones. #7225

Open steren opened 1 month ago

steren commented 1 month ago

Very often, my goal of opening ElectricyMaps is to be able to compare how the energy policy of two country / zone translates to carbon emissions. (Typically, comparing France and Germany is eye opening to folks having doubts about nuclear energy)

I'd be great if ElectricityMaps could allow me to select multiple countries / zones and display side by side information

This is an advanced use case, so the implementation shouldn't clutter the default UI.

Suggestion for how to achieve this elegantly:

I suggest being opinionated and only allow comparing 2 or 3 countries, not N.

Not all information would need to be present, but energy breakdown would ne critical to understand the emissions.

Comparing should also make sure the times compared are local time (as the default), and potentially allow to switch to absolute time.

madsnedergaard commented 1 month ago

Thanks for sharing @steren! This is definitely a feature that would be great and that we'd love to eventually add (it's something we've considered for a while).

As you're probably aware, it does require quite some work both technically and on the UX side, so it's great to get more details about why it matters to you and how you could see it working :)