MakieOrg / AlgebraOfGraphics.jl

An algebraic spin on grammar-of-graphics data visualization in Julia. Powered by the Makie.jl plotting ecosystem.
https://aog.makie.org
MIT License
443 stars 45 forks source link

ordered categorical data #183

Open piever opened 3 years ago

piever commented 3 years ago

Consider whether we need some specific support (for instance with a discretised batlow) for categorical variables with a well-defined order (eg, describing a price or an age, or bins of a continuous variable). It could use the categorical keyword of cgrad.

knuesel commented 3 years ago

This would mostly affect the colormap? And does it makes sense then to keep the isless definition on NonNumeric?

jtrakk commented 3 years ago

This can also affect facet order and barplot bar order.

kapple19 commented 3 weeks ago

I'd also have categorical data as e.g. Strings, and sometimes I'd like to prescribe their order as custom, not alphanumerical.