How to create a symbol map
Symbol maps are maps on which data about specific locations (e.g. cities) is represented with geometric shapes (e.g. circles).
These kinds of maps shouldn't be used if you want to show data about areas, like the population of all countries or the criminality rate in all Chicago neighborhoods. Choropleth maps are the better choice for that, and we show you how to build them here. But symbol maps are great if you want to show the data for specific geometric locations, e.g. to show all McDonald's restaurants in the US, all UFO sightings worldwide or the location of National Parks.
We'll show you how to build a symbol map based on population data for the biggest US cities:
Choosing a map
The first question that Datawrapper will ask you after you've decided for a symbol map, is: "What type of map do you want to create?" Even if you know that you want a US map, you can still decide between different levels, e.g. states, counties, district courts or congressional districts. We want a US state map as a background for our population circles; to give the reader some orientation. So we'll search for "USA", click on "USA » states" and then click "Proceed":
Preparing the data
Before we can visualize the unemployment rates, we need to bring it in the right format. Datawrapper will need addresses or longitudes/latitudes to know where you want your points to be. For our map of US cities, the city names will serve as addresses. Datawrapper will map them automatically (that's called "geocoding").
If you want to represent data with the size or color of circles (or other geometric shapes), you also need to prepare a column with data values. On our map, the size of the circles is determined by population numbers, and the color of the circles represents the change since 2010. So we need at least two more columns for population and change. Our table looks like this now:
|city||population 2016||change to 2010||population 2016 for tooltip|
As you can see, we added a fourth column: "population 2016 for tooltip". We will use that information for the tooltip, so that we don't need to take the long number chains from the "population 2016" column.
You can also import longitudes and latitudes. Datawrapper accepts decimal coordinates (e.g. 40.6635, -73.9387 instead of 40° 39′ 48.6″ N, 73° 56′ 19.32″ W for New York City). You will need one column for longitudes and one column for latitudes. That's how our data looks like when we add the two columns:
|lat||long||city||population 2016||change to 2010||population 2016 for tooltip|
Why should you upload longitudes and latitudes when Datawrapper can just transform our city names into points on the map? Because the names of cities (or any other places) might exist more than once or might be written differently in different languages. For example, there are multiple Vancouver's around the globe. If you give a geocoder (like Google Maps or Datawrapper) "Vancouver" as an address, it will assume that you mean the biggest Vancouver, in Canada. But the "Vancouver" in our table actually refers to the Vancouver in Washington state. When using city names as addresses, Datawrapper will map Vancouver in Canada. When using longitudes and latitudes, our Vancouver appears (correctly) in Washington. With longitudes and latitudes, you can be sure that Datawrapper maps every point exactly where it's supposed to be.
Importing the data
You've prepared your data? Great! Now there are three ways to import your table with names/ID and values:
- Write your values directly into the "Add a new point" field. This takes a long time, so we don't recommend it for maps with lots of points (like our US cities map):
- Click on "Import Data", then choose if you want to import addresses or latitudes/longitudes, then copy & paste your data into the table that appears. That is the most convenient option and you'll probably use it most often.
- Click on "Import Data", then "Click here to upload a CSV file" and upload a CSV. If you're a fan of CSVs (e.g. because you export them out of R or Python), this will be your preferred option.
If something's wrong with your data, our map feature will tell you immediately and lets you correct it on the spot. If you want to delete or edit a point on the map, you can do so directly in the table with a click on the pen or the trash symbol. If your table has many columns, you might need to scroll a bit to the right to see these symbols:
The first half of this video shows the process of importing data well:
If you successfully imported the data, you will see the following dialogue:
Click "GO!", check the data in the table again and then click "Proceed" to get to the next screen, where you can customize your map. We will cover this part in the next tutorial: Customizing your symbol map.
We are aware that for some countries and languages we do not have the correct local names, in Datawrapper we so far usually use the English geographic names. We are working on a solution to change this and enable users to display names as they are written in their local language.