.. _example_10: (10) A geographical bar graph plot ---------------------------------- Our next and perhaps most business-like example presents a three-dimensional bar graph plot showing the geographic distribution of all the languages of the world. The input data was taken from `Ethnologue `_. We decide to plot a 3-D column centered on each continent with a height that is proportional to the languages used. We choose a plain linear projection for the basemap and add the columns and text on top. Eventually we make it a bit more fancy by splitting the columns up in different colors indicating how commonly the languages are used, from institutional languages to languages threatened by extinction. The script also shows how to effectively use transparency of the boxes around the numbers and in the shade surrounding the legend. Our script that produces Figure ex_10 reads: .. literalinclude:: /_verbatim/example_10.txt :language: bash .. figure:: /_images/example_10.* :width: 500 px :align: center Geographical bar graph.