Not sure what order does the Parallel coordinates chart follows #2730
nareshkumarhari
started this conversation in
General
Replies: 1 comment
-
@jakevdp - Hi Jake, Can you please help ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Here is my parallel coordinates code -
PC = alt.Chart(result).transform_window(
index='count()'
).transform_fold(
["floors","bathrooms","bedrooms","condition","grade"]
).mark_line().encode(
x='key:N',
color = 'Price Range:N',
detail='index:N',
y='value:Q',
opacity=alt.value(0.5)
).properties(width=500)
In Parallel coordinates, the order of the attribute arranged on the x-axis matters to find the relation among them, but the chart is not taking the order we provide on the fold and I believe it is done using alphabetical order. Is there a workaround for this to get it in the order we need ??
Below is the chart where the order is completely different -
@jakevdp - Your suggestion will be very helpful
Beta Was this translation helpful? Give feedback.
All reactions