Graylog2 / graylog2-server

Free and open log management
https://www.graylog.org
Other
7.32k stars 1.05k forks source link

Add Butterfly Chart Style for Bar Charts #17668

Open jivepig opened 8 months ago

jivepig commented 8 months ago

Butterfly charts as a widget can help with long names for legends and allow you to represent data in a much different way

This type of chart is used quite a bit in the industry and I think it would be a nice compliment to the widgets.

Why?

Some Data can be viewed in this manner and can be more digestible visually when you see it. Examples:

image-87

images image-83

Your Environment

dennisoelkers commented 8 months ago

Hey @jivepig!

Thanks for creating this issue. Just some questions:

1.) How is the butterfly chart helping with long names? It looks to me as if in the examples there are just no names shown at all? 2.) The third graph looks to me like a bar chart rotated by 90°, is that correct?

jivepig commented 8 months ago

With Butterfly charts or Tornado charts, you can scale the bar chart on the page and have the individual names longer. It's just visually something that adds a different view. You can also represent two data sets at a time in a much more visual manner. They are like Bar charts on a 90 degree. As an example, you could have in the middle, the top 20 usersnames who have the highest logins and also most failures of logins. this allows you to see the data in a much different relationship as one example. It is a very common way of comparing two data sets side by side.

dennisoelkers commented 8 months ago

I do understand the point about butterfly charts providing benefits for comparing two data sets. I am not yet convinced though, that they provide benefits for displaying long names, because if the names are in the middle they will still take up a lot of space and the space you are allocating is dictated by the longest name if you want to keep them comparable. Why do you think they are beneficial for long names? Do you have an example chart?