### 8.1.13 Bar graphs: bar_plot

You can draw bar graphs with the bar_plot command. You give it a list, whose elements are pairs of labels and values, and the result will be a bar graph with a bar for each label, whose height is given by the corresponding value. For example, if you enter

bar_plot([["France", 6],["Germany", 12], ["Switzerland", 5]])

you will get

If you have more than one set of values for each label, you can use bar_plot to draw several bar graphs at the same time by including all values for each label, with a list of identifiers for the bar graphs given by the first argument. If you enter

bar_plot([[2,"xyz","abc"],["A",2,5],["B",5,6],["C",6,6]])

you will get