Diverging vs 100% Stacked Bar Chart #21
Replies: 2 comments
-
Hmm, I find the argument in the blog post you linked fairly convincing, though it would be interesting to hear someone defend diverging stacked bars, since they do seem fairly popular. (For example, I think they're the default for the Likert R package, which this one is inspired by.) To make a 100% stacked bar chart, it might actually be easier to skip this package altogether and use the matplotlib (or Pandas) I don't think I have the time to add this feature myself (at least at the moment), but I'd definitely accept a pull request incorporating 100% stacked bar charts as an alternate graphing option into this library. |
Beta Was this translation helpful? Give feedback.
-
I prefer diverging bars because the provide a sense of “balance” between positive and negative responses. The 100% might be useful to normalize scores when one question had significantly more responses than others. I don’t know when I would ever pull out neutral scores - “n/a” scores yes, but not neutral.
I think an option for the 100% plot would be good.
Mike
…On Aug 22, 2021, 12:46 AM -0400, nmalkin ***@***.***>, wrote:
Hmm, I find the argument in the blog post you linked fairly convincing, though it would be interesting to hear someone defend diverging stacked bars, since they do seem fairly popular. (For example, I think they're the default for the Likert R package, which this one is inspired by.)
To make a 100% stacked bar chart, it might actually be easier to skip this package altogether and use the matplotlib (or Pandas) plot.barh function directly. This StackOverflow question (which is where this library started) actually has an example of how to do that, and I'm sure there are others.
I don't think I have the time to add this feature myself (at least at the moment), but I'd definitely accept a pull request incorporating 100% stacked bar charts as an alternate graphing option into this library.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Beta Was this translation helpful? Give feedback.
-
Hello,
I wonder if instead of creating diverging stacked bars for showing percentages, we could also create 100% stacked bars? Diverging stacked bar charts are like stacked bar charts, except that they align the bars on a centre baseline instead of on the left and right.
(reference article: https://blog.datawrapper.de/divergingbars/)
Beta Was this translation helpful? Give feedback.
All reactions