owid / owid-grapher

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

✨ (stacked bar) wrap long labels / TAS-504 #3656

Closed sophiamersmann closed 1 month ago

sophiamersmann commented 1 month ago

Wrap long labels in stacked bar charts. Gives more room to bars, esp. on mobile.

Before After
Screenshot 2024-05-28 at 10 02 30 Screenshot 2024-05-28 at 10 02 42
sophiamersmann commented 1 month 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 1 month ago

Discrete bar: Wrap long labels

owidbot commented 1 month ago
Quick links (staging server): Site Admin Wizard

Login: ssh owid@staging-site-stacked-bar-wrap-labels

SVG tester: Number of differences (default views): 360 ([ad32df](https://github.com/owid/owid-grapher-svgs/commit/ad32dfbc941d02397ec9f09745739a5af3ae8c12)) Number of differences (all views): 840 ([49a6e6](https://github.com/owid/owid-grapher-svgs/commit/49a6e680f7b108dce48661f757dcaa42f9f0e74d))

Edited: 2024-05-28 08:39:35 UTC Execution time: 1.20 seconds