Description
In #2963, when @jonmmease introduced the parcats
trace type, he showed some existing examples like this one:
One thing this and other examples he showed do that parcats
does not is give a categorical colorscale to paths based on one of their dimensions. We let users specify per-path color only with a new line.color
array, which is nice for programmatic applications like brushing but not as useful for simply exploring within one parcats
diagram. In fact, all these examples color by the first dimension, but in principle it would be nice to be able to color by any dimension. Users should be able to use either layout.colorway
or a different colorway, and we should be careful to keep the colors from changing if you drag categories around. I could also imagine letting users perhaps doubleclick a category to switch the coloring to that category.
parcoords
might like this feature as well; in that context it would be a colorscale related to a specific dimension.