CountryData Globe with Tooltip Atlas

Mathematica contains a large database called CountryData that contains various demographics on countries around the world. This Demonstration allows the user to move the globe as any 3D graphic and hover the mouse over a country to return the selected demographic in a tooltip popup.



  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


Only letters that contain demographic information in CountryData are shown. Selection of letters along the top row will preload the drop-down menu with displayable (in the tooltip) demographics. The drop-down menu will appear blank until the demographic that starts with the selected letter is chosen. The globe can be manipulated to whatever orientation is desired using the standard 3D graphic manipulations. When hovered over a country, the tooltip will display the country name as well as the demographic selected in the drop-down menu. It sometimes takes a little while for the tooltip to become active and/or to find the "hot spot" in a particular country to trigger the tooltip. For the United States, Alaska has a tooltip; for Canada, Vancouver Island does.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.