A map of Canada shows a comparison of population density, at the level of the FSA (1st 3 digits of the Postal Code).
The following steps demonstrate how to create a new choropleth map of Canada. We are using the
dataset Canadian Census, constructed from the files canada_census_population_dwellings.csv and ca-postal-codes.csv, and joined of the fields fsa
and Postal Code
, respectively. See Canadian Census. Also, see Importing Data and Creating Datasets.
In the visuals menu, find and click Map (row 5, column 1).
Note that the shelves of the visual changed. They are now X, Y, Geo, Measures, Drill, Tooltips, and Filters.
The only mandatory shelf for map visuals is Geo.
Populate the shelves from the Data menu:
Postal Code
from the
table ca_postal_codes
, and add it to the Geo
shelf.Population 2011
from
table canada_census_population_dwellings
, and add it to the
Measures shelf .Specify the use of the Canada Map View in the Settings > Map interface; see Map View.
Click Refresh Visual.
[Optional] Alias the fields as necessary; see Alias.
Click (pencil icon) next to the title of the visualization to edit it, and enter the new name.
Canadian 2011 Population - Postal Code Choropleth
.At the top left corner of the Visual Designer, click Save.
Your visual should look something like this: