Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colour legend item of a category without data is in a weird state #4363

Open
sophiamersmann opened this issue Jan 2, 2025 · 1 comment
Open

Comments

@sophiamersmann
Copy link
Member

Description

In this scatter plot, the 'North America' legend item is bolded and greyed out, while no 'North America' countries are plotted.

Expected behaviour

North America shouldn't be bolded or grayed out.

Steps to reproduce

Steps to reproduce the behavior:

  1. Go to https://ourworldindata.org/grapher/share-or-agricultural-population-with-land-ownership-rights-by-sex
  2. Check the legend

Screenshots

Image

Additional context

No 'North America' data points are plotted for the selected year.

@danyx23
Copy link
Contributor

danyx23 commented Jan 8, 2025

The main thing that is weird here is the fact that North America is drawn in a bold font. Should be easy to fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants