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

"All the rest" bucket option when choosing "Top x" terms aggregation #3817

Closed
jccq opened this issue May 12, 2015 · 1 comment
Closed

"All the rest" bucket option when choosing "Top x" terms aggregation #3817

jccq opened this issue May 12, 2015 · 1 comment

Comments

@jccq
Copy link

jccq commented May 12, 2015

When doing a PIE chart one really expect a breakdown that will sum up to 100% of the documents considered.

This is not the case if one decides to "split slices" using e.g. "TOP 4 TERMS" and .. the terms that are actually in the data are more than 4.

E.g. lets assume the data is
Italy 50 docs
France 50 docs
Germany 50 docs
USA 50 docs
Canada 49 docs
Russia 49 docs

Chosing "Top 4 Terms" to slice a pie would show a pie divided in 4 equal slices, which is misleading to a regular user.

Would it be possible to add a "have a All the Rest bucket" to the "Top X" aggregation (e.g. via a checkbox "also have a "all the rest" bucket")?

In this case the visualization above would look like 4 equal pies (italy france germany usa) and a bigger slice "all the rest" approximately of 1/3 of the total.

this would be very useful for all visualizations really but invaluable for Pie charts (And bar/line charts with breakdown but .. where the total really matters)

thanks

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

2 participants