Canadian province map, choropleth
CDP Data Visualization Map visual supports choropleth mapping of measurements over a map of Canadian Provinces and Territories.
A map of Canada shows a comparison of measurement values among Canadian Provinces and Territories.
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
respectively. See Canadian census. Also, see Adding data and
- Start a new visual based on the Canadian Census dataset; see Creating a visual.
In the visuals menu, find and click Map (row 5, column 1).
Note that the shelves of the visual changed. They are now Geo,
Color, Size, Drill,
Tooltips, X Trellis, Y
Trellis, and Filters.
The only mandatory shelf for map visuals is Geo.
- Populate the shelves from the Data menu:
Under Dimensions, select
Provincefrom the table
ca_postal_codes, and add it to the Geo shelf.
Under Measures, select
Population 2011from table
canada_census_population_dwellings, and add it to the Colors shelf.
- Under Dimensions, select
- 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.
- [Optional] Enable panning and zooming option, as described in Customizing zoom.
- [Optional] Change the color palette, as described in Changing color palette of visuals.
- Click (pencil icon) next to the title of the visualization to edit it, and enter the new name.
- Change the title to
Canadian 2011 Population - Province Choropleth.
At the top left corner of the Visual Designer, click
Your visual should look something like this: