electricitymaps / electricitymaps-contrib

The open source repository for Electricity Maps App and data parsers 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.61k stars 945 forks source link

Show % of available electricity in net import graph tooltip #6204

Open corradio opened 11 months ago

corradio commented 11 months ago

Is your feature request related to a problem? Please describe. When hovering on the net import graph, I'd love to know get a sense of the magnitude of imported/exported electricity.

image

Describe the solution you'd like An idea would be to show a label in the tooltip such as "This represents X% of electricity available in XX", the same way we already do it with production/exchange breakdowns above.

corradio commented 1 month ago

PR suggested here: https://github.com/electricitymaps/electricitymaps-contrib/pull/5791