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

[Bug] Pie charts of data which include empty strings are incorrect #24

Open
hlmore opened this issue Nov 28, 2024 · 0 comments
Open

[Bug] Pie charts of data which include empty strings are incorrect #24

hlmore opened this issue Nov 28, 2024 · 0 comments

Comments

@hlmore
Copy link
Collaborator

hlmore commented Nov 28, 2024

Description:

If you make a pie chart of a field in which some values are empty strings '', the empty-string values each appear in the pie chart as a single section with a label equal to the index of the value in the backend dataframe.

For example, using the countries data, there are four countries with an empty string in the Region field, which a pie chart of Regions shows as 66, 115, 134, and 214:

image

Expected behaviour:

Fields with empty strings should either be combined into one pie section with the label '' (preferred), or be omitted altogether (this is what happens in bar charts).

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

No branches or pull requests

1 participant