X

How can I create a Choropleth map?

  • Created : May, 07, 2020
  • Last Updated: May, 12, 2020

This documentation is always evolving.

A Choropleth map can ideally be used to visualize statistical data such as demographic information or election results by highlighting the respective areas in different colour shades.

At this moment we cover numerous standard underlying polygon sets which is one of the prerequisites for a successful data matching process. The current polygon sets mostly cover administrative boundaries such as country, province or county borders worldwide. We’re constantly working on adding new data sets for you. If you’d like to report a polygon set that you wish to use in the Mapcreator tool, please send our Support Team a message.

The power in creating a great Choropleth map starts at the basic, but most important step: your data. You can already have a spreadsheet ready, or you can work with the data download Mapcreator offers you. Let’s have a look at both of the options. Also, let’s think about whether your map should be created for print or for creating an interactive online map. The latter can be edited in order to reveal more information, referring to content from the imported data file, within popups or a sidebar once the reader of your map clicks on them. Thus, the more detailed your data file is built, the richer your online map will be!

To work with the polygon sets, let’s move to the Areas menu in the tool. You can differentiate between Single, which allows you to place one single polygon (or more), and Group, which places an entire polygon set. In this article, we focus on these only.

Let’s select the area you want to create this map of. Click on Manage Data to either

a) download, edit and upload Mapcreator’s / your data file, or

b) change the data table in the tool.

Depending on which polygon set you chose, there are different matchable parameters available. This selection will be crucial for the data matching step which follows later. Possible parameters are Name, ISO country codes, or common local parameters like i.e. FIPS (USA) or Regionalschlüssel (Germany).

Method a) Download Mapcreator’s data, edit and upload it

Select which of the parameters you’d like to match your data with and click on Download as CSV.

You can open this file (with i.e. any text editor or Excel programme) and add your data in at least one or more columns. Here’s an example of how the file can be built:

As mentioned above, if your map is supposed to be created for print, the minimum you need is the column for “population”. The additional information like “capital” or adding an image link is meant for the purpose of creating an interactive online map.

Let’s import the file and match the data. If all goes well, the system immediately recognizes the correct names and adds the data to it. In case you made a typo while editing the file, the system will highlight unmatched cases for you which you can adjust. Double click on the red cell to select one of the available suggestions.

Now it’s time to style the polygons. You will be able to select the correct column for the data, either of the color modes “quantile” or “quantize”, how many color breaks and which colors for the highest, lowest, unmatched as well as the stroke of the polygons.

If you’re satisfied with this map for print, you can move to the Export Menu to adjust the map size and download it in the desired file type.

At any point, you can further annotate your map, add adornments or hide layers that you don’t need. For now, we’ll go ahead and prepare the same map for an online output and add interactivities. We’ll include text and the image which are listed in the spreadsheet:

To preview an example, click on the Preview button or go directly to the export menu to output the iframe and link. Before we do that, we could add annotations like labels or icons, or hide layers you don’t want to show in your example:

Method b) Change the data table in the tool

Instead of uploading a data file, you can also edit the data table directly in the tool. You may even use familiar spreadsheet features like drag-down or copy-paste to auto-generate the content. The plus button on the right-hand side of the table allows you to add additional columns. Let’s have a look together:

The remaining steps stay the same. You could download this map right away, or you add interactivities and prepare the map for an online output.

Try out our final result:

See Mapcreator in action