Changed to create a horizontal bar graph