Should auto-calculated ordinal domain return sorted?
mhkeller opened this issue · comments
Currently, if you set an accessor for x y or z and you pass in an ordinal scale, the domain will be calculated as unique elements, say, for a color scale. The order of these unique elements is just based on when they appear in the data. Should .sort()
be called on them so that the appearance is more consistent?
This could be a potential breaking change for some charts.
Yea I think this would be a good idea.
Implemented in 8.0.0