Closed pabloarosado closed 2 weeks ago
The URL https://ourworldindata.org/grapher/dietary-choices-uk?country=18-24~25-49~50-64~65%2B opens the chart with non-existing entities.
The chart should only show entities for "18-24", "25-49", "50-64", "+65". But, instead, it shows those plus "18", "18", "25", "25", "50", and "50".
Steps to reproduce the behavior:
See this and this slack threads for more context and related issues.
Maybe the issue is how the "-" is parsed in the URL, and a workaround could be to rename the entities, to be, e.g. "18 to 25"?
Description
The URL https://ourworldindata.org/grapher/dietary-choices-uk?country=18-24~25-49~50-64~65%2B opens the chart with non-existing entities.
Expected behaviour
The chart should only show entities for "18-24", "25-49", "50-64", "+65". But, instead, it shows those plus "18", "18", "25", "25", "50", and "50".
Steps to reproduce
Steps to reproduce the behavior:
Screenshots
Additional context
See this and this slack threads for more context and related issues.
Maybe the issue is how the "-" is parsed in the URL, and a workaround could be to rename the entities, to be, e.g. "18 to 25"?