Did you import the example flow that @hotNipi provided and look at the comments he put in it?
If you don't understand some part of that flow, please describe what part you don't understand.
[UPDATE] you might be interesteed in this: [Announce] node-red-contrib-ui-artless-gauge 0.3.0