Draw bar graph with canvas