-
Hello everyone, I have been studying plot recently but have encountered some issues. I hope to get some help. Thank you very much! I want to add three data labels to this chart, but I couldn't achieve it. The desired effect is as follows: https://observablehq.com/d/6a287381aff76d7f what I have tried: thank you! |
Beta Was this translation helpful? Give feedback.
Answered by
Fil
Aug 2, 2023
Replies: 1 comment 2 replies
-
here's a solution:
note that you need to pas the data before the options, and you need to be explicit about stacking when using the text mark (whereas the bar mark stacks implicitly). |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
winner106
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
here's a solution:
note that you need to pas the data before the options, and you need to be explicit about stacking when using the text mark (whereas the bar mark stacks implicitly).