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

[Feature Request] Add "geometric mean" to categorical ordering #6152

Closed
acxz opened this issue Mar 21, 2022 · 2 comments · Fixed by #6223
Closed

[Feature Request] Add "geometric mean" to categorical ordering #6152

acxz opened this issue Mar 21, 2022 · 2 comments · Fixed by #6223
Assignees
Milestone

Comments

@acxz
Copy link
Contributor

acxz commented Mar 21, 2022

This feature request is to add the geometric mean for ordering/sorting in the categorical axes type.
In particular the addition of "geomean ascending" and "geomean descending" to categoryorder is requested.

The geometric mean is useful since when visualizing/sorting data on a log scale, the arithmetic mean can be very skewed. For larger scales like the log scale having a categorical sort on the geometric mean can provide a better ordering scheme.

Related PRs: #3864

@alexcjohnson
Copy link
Collaborator

Great idea! feel like making a PR to add this? 🙏 😸

@acxz
Copy link
Contributor Author

acxz commented Mar 22, 2022

Sure, I'd love to tackle this.

@gvwilson gvwilson self-assigned this Jun 26, 2024
@archmoj archmoj added this to the v2.34.0 milestone Jul 13, 2024
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

Successfully merging a pull request may close this issue.

4 participants