drawing a bar chart with five coloured divs of different length