Skip to content

custom facet sort function #1346

Answered by mbostock
pdebruic asked this question in Q&A
Discussion options

You must be logged in to vote

You can specify the domain of the fx or fy scale explicitly to change the order. And you can use the mark sort option to impute the domain of these scales from data. See the barley plot example here: https://observablehq.com/@observablehq/plot-facets

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Fil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1344 on March 16, 2023 18:38.