You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some charts, we want to limit the entities that the user can select from.
Context
Sometimes, we plot more than one indicator together. It can be that there is missing data for some of the indicators for some entities, and hence we don't want to show data for that entity.
For instance, in the joint plot of Population vs GDP, it could be that GDP for Holy See is unavailable, but Population is. In that case, we would prefer not to allow users to choose "Holy See" (because the chart would only show one of the relevant indicators: Population).
It would be nice to have some flexibility in choosing the entities that are surfaced to the users. Maybe something similar to what we have for "Data to show" section, where we select the countries selected by default:
And (or) we could have an option (a checkbox?) with something like "show only entities that have data for all indicators shown in the chart".
The text was updated successfully, but these errors were encountered:
Core problem
In some charts, we want to limit the entities that the user can select from.
Context
Sometimes, we plot more than one indicator together. It can be that there is missing data for some of the indicators for some entities, and hence we don't want to show data for that entity.
For instance, in the joint plot of
Population
vsGDP
, it could be thatGDP
for Holy See is unavailable, butPopulation
is. In that case, we would prefer not to allow users to choose "Holy See" (because the chart would only show one of the relevant indicators:Population
).This was raised by Saloni here: https://github.com/owid/owid-issues/issues/1217#issuecomment-1748390214, in the context of a line chart that plots both
cohort life expectancy
andperiod life expectancy
to compare them. Demo of the problem:life-expectancy.mov
Proposed solution
It would be nice to have some flexibility in choosing the entities that are surfaced to the users. Maybe something similar to what we have for "Data to show" section, where we select the countries selected by default:
And (or) we could have an option (a checkbox?) with something like "show only entities that have data for all indicators shown in the chart".
The text was updated successfully, but these errors were encountered: