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

Tables contain programmatic columns that should be hidden

Open larsyencken opened this issue 2 years ago • 0 comments

Problem

The tables for charts can contain programmatic columns that are not in the original data, and are confusing to users.

Examples

  • https://ourworldindata.org/grapher/gdp-per-capita-maddison-2020?tab=table

    Screen Shot 2022-03-18 at 14 32 29
  • https://ourworldindata.org/grapher/kaya-identity-co2?tab=table&time=earliest&country=~DZA

  • https://ourworldindata.org/grapher/compare-sources-working-hours?tab=table&country=~ESP

Suggested fix

We should hide all these columns where possible.

At worst, we could simply remove the block matching the regex \d+-annotations, if we can't find a more elegant solution.

larsyencken avatar Mar 16 '22 15:03 larsyencken