Audio level bar

Hi, can I ask some help please I want to achieve same in the image, I’m using webRTC? If the user talk loud, it will also increase to red color ? Same in the image below
image

Thank you in advance