owid / owid-grapher

A platform for creating interactive data visualizations
https://ourworldindata.org
MIT License
1.37k stars 230 forks source link

✨ (marimekko) use country short names as labels / TAS-523 #3688

Closed sophiamersmann closed 3 months ago

sophiamersmann commented 3 months ago

Improves #3683

Uses a country's short name for Marimekko labels if the entity name is long. For now, we only have a single short name, DR Congo, but it's a good one.

We could also use the regions.json variantNames, but these are meant to be used as search aliases, so I don't think we should use them as label variants. But I hope that we add more short names in the future :)

sophiamersmann commented 3 months ago

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @sophiamersmann and the rest of your teammates on Graphite Graphite

notion-workspace[bot] commented 3 months ago

Marimekko: Use country short names

owidbot commented 3 months ago
Quick links (staging server): Site Admin Wizard

Login: ssh owid@staging-site-marimekko-short-names

SVG tester: Number of differences (default views): 1 ([2bc0e4](https://github.com/owid/owid-grapher-svgs/commit/2bc0e41756664c6b6b4d66a5250db663fb7ad218)) ❌ Number of differences (all views): 6 ([7a2634](https://github.com/owid/owid-grapher-svgs/commit/7a2634057401081c9f5c1d8a0d51634831722b8a)) ❌

Edited: 2024-06-06 10:28:53 UTC Execution time: 1.26 seconds