Interactive bar

Hello,
It is any possibility to create interative bar like this on image? Vertical bar which is interactive with click and swipe event. On any event value of bar is changing.

bar

Do you have any idea? or tips for me?

Thanks !

Marcin