This is a histogram with colored tail created using D3.js. An if else statement is made when the color argument is called. If it exceeds the threshold value of 140 then it should be colored green else it is represented in yellow color.

Refrences :

D3.js