In the Plot Gallery, I see there is a way to apply a gradient fill to elements in a bar chart. However, I noticed that the gradient basically “starts over” on each bar, instead of being attached to a fixed value. Is there a way to apply a single gradient to the entire chart where the color values are determined based on their values?
note however that since the temperatures don’t go from 0 to 100 this will mostly be in the red region. But you can now adapt in “data space”, by having e.g.y2=${y(60)} if 60 is the lowest temperature.