Ordering
Explore how to use the sort parameter in Altair to order categorical data visually. This lesson teaches you to arrange data by ascending or descending values to enhance clarity and highlight important rankings in your visualizations.
We'll cover the following...
We'll cover the following...
Ordering involves specifying the order of values in a categorical variable. In Altair, we can determine the order of an encoding channel by passing the sort parameter to it.
How to use ordering in Altair
To order a specific encoding channel, set the sort parameter according to ...