owid-grapher
owid-grapher copied to clipboard
Stacked area charts stack aggregates on top of countries
Description
It's possible to stack aggregates on top of countries. In this chart, France is stacked on top of World although the World includes France. This is true for other entities as well where one entity includes another, e.g. continents and the "World" entity or "High-income countries" and "Europe".
Expected behaviour
It's a bit unclear what a good UX would look like that prevents users from stacking entities that shouldn't be stacked.
Steps to reproduce
Steps to reproduce the behavior:
- Go to https://ourworldindata.org/grapher/above-or-below-extreme-poverty-line-world-bank?facet=metric&country=FRA~Europe+and+Central+Asia~OWID_WRL
- Note that France is stacked on top of World