Example: Bar Charts on a Map

This example shows how revenue breaks down by product in each continent.

Note: This example uses worldsales.

  1. Add a Graphboard node and open it for editing.
  2. On the Basic tab, select Continent, Product, and Revenue. (Use Ctrl+Click to select multiple fields/variables.)
  3. Select Bars on a Map.
  4. Click the Detailed tab.

    When using more than one field of a specific type, it is important to check that each field is assigned to the correct slot.

  5. From the Categories drop-down list, choose Product.
  6. From the Values drop-down list, choose Revenue.
  7. From the Data Key drop-down list, choose Continent.
  8. From the Summary drop-down list, choose Sum.
  9. In the Map Files group, click Select a Map File.
  10. In the Select Maps dialog box, check that Map is set to Continents and Map Key is set to CONTINENT.
  11. In the Compare Map and Data Values groups, click Compare to ensure the map keys match the data keys. In this example, all of data key values have matching map keys and features. We can also see that there is no data for Oceania.
  12. On the Select Maps dialog box, click OK.
  13. Click Run.
  14. Maximize the resulting output window to see the display more clearly.
Figure 1. Bar Charts on a Map
Bar Charts on a Map

We can observe the following:

  • The distribution of total revenue across products is very similar in South America and Africa.
  • Product C generates the least revenue everywhere except in Asia.
  • There is no or minimal revenue from Product A in Asia.