Help With Temperature Guage Progress Baar

Hey Everyone

I have a temperature system in my project which has a min and max value it can be (ie: -30c to 44c) and that all works fine.

However, I have setup a Progress Bar and what I am looking to do is basically fill up the progress bar if the temperature is above 0c and basically the hotter it is, have it fill faster until it reaches max (44c), and decrease when below 0c and the colder it is have it decrease faster and be empty at min (-30c)

This sounds simple enough, but I’m not quite sure how to go about it. Any help would be greatly appreciated.

I already have functions to get the current temperature all setup but just not sure how to go about getting the progress bar to work the way I want.