Sort in the visualization

kpat
New Altair Community Member
Does anyone knows way to sort graph in the visualization tab.
I know you can add sort to individual element of the graph but if the data in non-numerical and you want to display graph in certain order, is there any way I can do it?
Tagged:
0
Best Answer
-
The graphs in RM plots the data taking into account the index order. A possible approach is creating a new sortable Attribute, assigning the values in the order that you need and finally using the sort Operator to reorder the exampleset as you like.please find attached a simple example with the Iris dataset.Best
Cesar0
Answers
-
0
-
The graphs in RM plots the data taking into account the index order. A possible approach is creating a new sortable Attribute, assigning the values in the order that you need and finally using the sort Operator to reorder the exampleset as you like.please find attached a simple example with the Iris dataset.Best
Cesar0 -
Thank you Cesar for the response. I wish App had a drag and drop feature to arrange plot data like Tebleau.
0