How to assign colorby in ascending order (by categorical values) instead of by amount of datapoints per categorical value?
Can you give an example of the type of color-by encoding you were hoping to accomplish?
I have a categorical variable with 4 values: 1,2,3, null where 1=critical, 3=low. I would like to have a color-by encoding from red to green starting from 1 (red). null should be gray.
At the moment the color of any value of the categorical variable is solely determined by the number of datapoints which have that value.
Currently that type of custom color setting isn't possible in the API (although perhaps there is a way to hack it through some JS that finds the color setter inside of dive and manually changes it and forces a dive redraw).
Marking this as a feature request.