Car fuel quantity card

Hello

i like to display the “fuel quantity remaining” in a virtual tank… just like a car

i have the fix value of the tank
i know the quantity that was use

now i like to display the tank level

any recommendation would be appreciated