-
There is this really nice example here that creates bar charts for survey results. I was trying to get data labels into the bars, but so far failed. I was actually able to even remove the z grouping. It still returns the same result.
The hick is that Is there an easy way to position the labels, based on another mark or are marks completely separate? Data passed to Challenge: place labels on stacked bars that have been moved with an offset function |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Note that the last cell at the bottom of https://observablehq.com/@observablehq/plot-diverging-stacked-bar has text labels; if you replace |
Beta Was this translation helpful? Give feedback.
-
Oh. All I needed to do was adding:
So my text mark would be able to process the Likert function. Well, that was a good exercise in deep-diving Plot! Thanks @Fil, awesome support here !! |
Beta Was this translation helpful? Give feedback.
Oh.
All I needed to do was adding:
z: "rating",
So my text mark would be able to process the Likert function.
My example was a tick different, as I don't use groupZ.
Well, that was a good exercise in deep-diving Plot!
Thanks @Fil, awesome support here !!