owid-grapher icon indicating copy to clipboard operation
owid-grapher copied to clipboard

Stacked area charts stack aggregates on top of countries

Open sophiamersmann opened this issue 9 months ago • 1 comments

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:

  1. Go to https://ourworldindata.org/grapher/above-or-below-extreme-poverty-line-world-bank?facet=metric&country=FRA~Europe+and+Central+Asia~OWID_WRL
  2. Note that France is stacked on top of World

sophiamersmann avatar May 15 '24 15:05 sophiamersmann