I have a biological index called TSI (trophic status index) that I'd like to represent visually (using R). I'd like to do this using a bar that transitions from blue to green with the value mapped on the bar. This image that I found online (Minnesota DNR Lakefinder website) is what I'm going for:
How should I go about this?? I'm not sure where to start.