Refactored ugly ratio calculation to something slightly less ugly with a better name.
Added dynamic width of bars in the graph.
Added ticks to graph bars. Changed colours.