How to make a "visual voltmeter" using and LED strip

Have a look at the FastLED libray.