Set up functions to plan and draw the bar graph