What I want is to have the lines in my parallel plot be colored either red or green based on a certain criteria. So I have my plot data defined like below, and for colorValues, the values are always either 0 or 1. Most of the time this works correctly (i’m seeing both red and green), but in some instances the I’m seeing the color being plotted a 3rd brownish color that I haven’t defined and I’m not clear where this is coming from.
How does the colorscale work exactly?
let data = [
colorscale: [[0, ‘red’], [1, ‘green’]]