Choose Language Hide Translation Bar
Community Manager Community Manager

Creating a Geographic Map Using Shape Files

Learn more in our free online course:
Statistical Thinking for Industrial Problem Solving



In this video, we show how to create a geographic map using shape files and the Mobile Cellular data.


Remember that this is data about mobile cell phone subscriptions per 100 people, from 1990 to 2017. The data set includes information on 217 countries grouped into seven regions and four income groups.


Because we have the names of the countries and the ISO codes, a geographic map can be created using shape files.


To create a geographic map for these data, we drag the ISO code to the Map Shape field. The boundaries of each of the countries are automatically drawn, and the axes are now latitude and longitude. Now, when we drag a variable like Region or Mobile (per 100) to the Color zone, the map is colored by the values of these variables.


We’ll change the color gradient to a sequential theme and change the scale type to quantile. This enables us to better compare the mobile phones for the different countries.


The data set includes data for 28 years. So, this is combined data for all of the years. To see the mobile phone subscriptions for a particular year, we can use the local data filter. Here, we select Local Data Filter under the top red triangle, and select Year as the filter variable.


As we scroll through the years, the colors in the geographic map update based on the mobile phone subscriptions for the selected year. We can see, geographically, how mobile phone subscriptions have changed, globally, over time.


Let’s talk about how this map is created. Shape files for many regions, and the world, can be found in the JMP sample data directory.

Article Tags