Moved styling of the bar graph to the css
Move the code for readness

also move the code for readness
Make the xScale function a bit easier