This article describes how to use a table that contains states or another geographic category, such as state, region, or county, and a comparative statistic, such as population. In this example, the cell values represent the homicide rate in each state over time.
To create a geographic map that shades the color of each location in the map in proportion to data values.
Requirements
Geographic map visualization requires that the data has been combined into categories or entities arranged in a table with two or more columns:
- Column 1: a list of geographic entities. The entities may be countries, continents, states, regions or zipcodes, see How to Access an Exhaustive List of Geographic Entities Available for Geographic Maps.
- Column 2 & subsequent: a data value for each geographic entity.
There are many ways to specify a geographic entity:
-
- Countries may be specified by name or a three-letter ISO code.
- US states can be referred to by their two-letter code; Australian states can be referred to by their acronym.
- Zipcodes and postcodes can be used for Australia, the UK, and the USA.
- USA regions can be used (i.e. Northeast, Midwest, South, West).
- SA4 Areas of Australia can be used.
You can also use one of Displayr's built-in tools to gross your more granular data into one of the supported entities, see How to Automatically Combine Categories - By Geography.
Method
- Create an output table on the Page, as described in Requirements.
- From the toolbar, go to Visualization > Geographic Map > Small Multiples Geographic Map.
- Click on the page where you want to place your graph
- From the object inspector, go to Inputs > DATA SOURCE > Output in 'Pages' and select the output on the page that contains the geographic data. You can find the name of the output by selecting the output, and from the object inspector, Properties > GENERAL > Name.