Dynamic graphic slider. Is it possible?

Hello everybody,
I would like to have colored sliders to use in the lovelace that do not change but simply indicate the change in a value graphically. As in photo. Let me explain, I have a photovoltaic system and I use Forecast Solar for forecasts, so I would like to see an orange slider if less than expected was produced, green if it is the opposite. It’s possible? Thank you
image
This is not HA but I would like the same thing: if it is greater than 0, the orange slider scrolls to the right otherwise the slider turns green and scrolls to the left