Area chart with changing fill colors

Hey Community,
I’d like to create an area graph where the fill colors change for each segment/x-value. Specifically, I want each x-axis segment to be colored according to a predefined threshold.
Any ideas on how to make this work?

Here is what my designer came up with:

You’ll need to split this up into multiple traces, one per fill color (unfortunately).

1 Like