-
Notifications
You must be signed in to change notification settings - Fork 122
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
bars gaps and spaces #350
Comments
Thanks for bringing this up. This functionality is by design as each x-Axis ordinal value (i.e. That said we are always eager to make enhancements that will promote readability and reduce noise. Are you proposing that we collapse the spaces where there is no value to show? |
It feels like there are use cases for both, if you have a low number of series, reserving space for a "zero" value is probably the more readable option, for a high number of series efficiently using the space might make more sense. Maybe a setting on the series spec component? |
@flash1293 Great idea I was thinking something similar |
What if the field we do the split series is IP (which is high cardinality)? IP can have ten thousand of different Ips. The approach of "saving" spaces for dedicated values will be challenging when it comes to really data were there are more than 5 values |
@AlonaNadler Ya I can see the use case. I talked with @markov00 and @monfera about how to approach this. We will prioritize accordingly. |
hey @gvnmagni it will be great if you can provide your input here: what we have is "hierarchical" categorical bar chart where each main category has its own group of bars. In some cases some bars are missing (no data/no value). The same principle should/could be applied to small multiples. |
I would discern the grouped bars from the small multiple concept. In grouped bars, I think that it probably makes sense to collapse all bars together, especially when we have a lot of them, and it is probably a good idea to choose a number of categories that when exceeded makes those bars to get closer to each other. Five? six? I don't have a specific number in mind, we can try with five and see how it behaves. In the case of small multiples I am a little reluctant though, since the whole concept of the small multiple is to create identical charts that differ only from the main subject but that lives on the same identical structure. The main goal is comparison and we might lose that if we fill those empty spaces. In that case it's probably better, from my point of view, to leave empty spaces as they are |
When you split series in a not stacked chart there are gaps and spaces between the bars, which makes the chart looks bad visually and also the gaps cannot be explained
it appears the chart is "saving" space for certain values. In high cardinality data, the top values can be completely different between the x-axis values. so for example in the example above maybe
It would be good the not have these gaps between the bars and reserved the number of places based on the size of the split series, which any value/color can be within them
cc: @flash1293
The text was updated successfully, but these errors were encountered: