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

Cycle 2024.2: Region DoDs

Open sophiamersmann opened this issue 11 months ago • 0 comments

Project outline (Google slides)

Must do

  • [x] For entity names including the region definition source in parentheses, automatically look for a DoD with a specific prefix (e.g. for "Africa (WHO)", we automatically check for a DoD named grapher_regions_who)
  • [x] For every region DoD, add a text fragment in the notes footer that provides more information about the region definitions via a DoD popup
    • [x] Support custom note text by detecting whether an automatic region DoD ID was used (if a custom text is provided, don't add the standard fragment)
  • ~Remove region info from entity names if possible (don't do this if we end up with ambiguous entity names)~
  • [ ] Display text in parens slightly more subtly

Should do

  • Support images in DoDs (we could then show a map of the region definitions)

Won't do

  • Support per-chart region DoDs

Stack (ongoing work)

  • https://github.com/owid/owid-grapher/pull/3346
    • Display text in parens in a more subtle way

sophiamersmann avatar Mar 12 '24 13:03 sophiamersmann