How to create map of Peru with MapFast?

This article is a step-by-step guide on how to create your own Peru map from Excel/CSV data. Let’s dive in!

The goal is to create a map of Peru with a population dataset.

Scatter map of Peru
A scatter map of Peru
Choropleth map of Peru
A choropleth map of Peru

We will see two types of maps:

Here, we will create both so that you can see the difference between the two types of maps.

Step 1: Upload your data

Create an Excel file or CSV file with at least two columns:

You can name the columns as you want, it doesn't matter.

Here is an example, the population data for Peru (2022):

0_geo_name 1_year 2_value
Amazonas 2022 429483
Ancash 2022 1194156
Apurímac 2022 429720
Arequipa 2022 1553994
Ayacucho 2022 670579
Cajamarca 2022 1454217
Cusco 2022 1380594
El Callao 2022 1171648
Huancavelica 2022 350845
Huánuco 2022 755213
Ica 2022 1020050
Junín 2022 1374221
La Libertad 2022 2077345
Lambayeque 2022 1338994
Lima Region 2022 10986006
Loreto 2022 1044884
Madre de Dios 2022 185478
Moquegua 2022 197337
Municipalidad Metropolitana de Lima 2022 10004141
Pasco 2022 269296
Piura 2022 2103099
Puno 2022 1226353
San Martín 2022 924384
Tacna 2022 384222
Tumbes 2022 259556
Ucayali 2022 615024
Source for this data: INEI (Instituto Nacional de Estadística e Informática), via citypopulation.de. You can also download it here directly.

Then, just open the MapFast app and drop your data in the upload section.

That's it! The app will automatically detect the boundary names and create a map of Peru with your data. Once finished, it should look like this:

A screenshot of the MapFast app once finished uploading the data
MapFast screenshot: upload done

Fill in your email and click on "See map".

💡 Under the hood, MapFast will detect which regions (or locations) are present in the file, and geocode them to get their coordinates. Once it's geocoded, MapFast will make guess the best color mapping, best map type and best title for your map.

Step 2: customize your map

Scatter map

By default, the app will create a scatter map of your data. Here is what it looks like for the population as the size (1) and color (2) of the markers, and a title (3):

Scatter map
MapFast screenshot: the scatter map created (Peruvian population by Region)

The sidebar on the left enables you to customize the map:

Create your map of Peru

Choropleth map

The choropleth map is a map with colored regions. To create a choropleth map, it's three steps:

  1. Click on choropleth in the sidebar
  2. Select the administrative level you want to use: Regions, Counties, etc.
  3. Select a column for the value to display. This will set the colors of the regions.

Here is what it looks like for the population dataset:

Choropleth map
MapFast screenshot: the choropleth map created (Peruvian population by Region)

If the match isn't perfect, open the table and edit the names of the regions until your data is aligned with the map.

Create your map of Peru

Step 3: Download or share the map

Once your map is ready, you have two options:

  1. Download the map as an image (PNG)
  2. Share the map to other people (interactive page).
MapFast screenshot: download and share options
MapFast screenshot: download and share options

The two options are available in top-right corner of the app.

It's also possible to embed the map on your website : to do so, open the sharable link and copy the HTML embed code.

Conclusion

That's it! You have created a map of Peru with your own Excel/CSV file. Effortlessly! 😉

You can now download the map as an image or share it / embed it on your website.

Happy mapping! ⭐

Ready to create beautiful maps?