How to sort a stacked barchart in Plot by selected category #2383
Answered
by
Fil
quillcraft
asked this question in
Q&A
-
|
I have example in Plot: https://observablehq.com/@mizinov/stacked-bars-with-sorting
Can someone help me? I think it must be simple. |
Beta Was this translation helpful? Give feedback.
Answered by
Fil
Mar 17, 2026
Replies: 1 comment 4 replies
-
|
you could use |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
quillcraft
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

you could use
sort: {y: "x", reduce: "min", reverse: true}orsort: {y: "x", reduce: "first", reverse: true}