Safari HTML5 Canvas Guide: Creating Charts and Graphs
Bar graphs are similar to data plots, but each sample is graphed as a rectangle scaled to the height or width of the sample.
The example in Listing 10-4 graphs data as vertical bars with a text label floating over each bar, as shown in Figure 10-2.