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

Scatter plot: Remove entities from the data table that are not displayed in the chart #2692

Closed
sophiamersmann opened this issue Oct 3, 2023 · 0 comments · Fixed by #2720
Closed

Comments

@sophiamersmann
Copy link
Member

Description

  • Scatter plots often use population to size circles
  • Entities that have no data for any year for the x- and y-dimension, but do have data for the size-dimension show up in the data table
  • We would rather not list those entities in the table

Expected behaviour

Don't list entities that only have data for the size-dimension in the data table.

Steps to reproduce

  1. Go to https://ourworldindata.org/grapher/gini-coefficient-after-vs-before-tax-wb-scatter
  2. Note that Afghanistan is not displayed in the chart and is also not listed in the entity selector dialog
  3. Note that the table lists Afghanistan as an entity

Screenshots

Screenshot 2023-10-03 at 11 04 45 Screenshot 2023-10-03 at 11 04 52

Additional context

This came up in the Grapher redesign bug bash.

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