How to create a map chart
Excel 2016 owners with an office 365 subscription can now easily build beautiful map charts. Excel uses maps from Bing and it works very well, all you need to do is provide data.
The map chart below shows US states by population and I will show how I made this.
Download data
I copied US population data from wikipedia and rounded values to millions with one decimal.
Insert map chart
This world map shows up, US states are barely visible. This is not what we want.
Map Chart settings
Double click on the map with left mouse button to access chart formatting.
Here we have three options we can modify, map projection, map area and map labels.
Map projection
- Automatic - Self explanatory
- Mercator - Cylindrical map projection
- Miller - Modified Mercator projection
- Robinson - Showing the globe as a flat image
Map area
- Automatic
- Only regions with data
- World
Select "Only regions with data" and the chart changes to this:
Still not good, US state Alaska is so big it is hard to see the other states.
However, this setting shows different options if we add a third column to our data. Column A has value US in all 52 cells, see picture below.
Now change the data source to include column A. Right click on chart and select "Select Data...". Change the cell reference to A1:C56
Click OK button. The map chart changes once again.
Lets look at the formatting options. There are now five different map areas and the "Automatic" setting shows the above map chart.
- Automatic
- Only regions with data
- Country/Region
- Multiple countries/regions
- World
Map labels setting lets you display state names: None, best fit only or show all. I have selected "Show all" and this is what the map chart looks like.
If you resize the chart, even more state names are visible. You can also add the population number, right click on map and click on "Add Data Labels", see chart below.
If you don't like the state colors you can change that, as well. Double click on the map and then click on a state, the format object task pane appears to the right hand side of the excel window, see picture below.
Click "Series Options" and then "Series Color" to see map chart color settings. Click the "Fill color" buttons and pick a lowest value color and a highest value color.
Download excel *.xlsx file
Question: How do I create a chart that dynamically adds the values, as i type them on the worksheet? Answer: […]
How to use mouse hover on a worksheet [VBA]
I recently discovered an interesting technique about using a user defined function in a HYPERLINK function. Jordan at the Option […]
Change chart data range using a Drop Down List [VBA]
In this article I will demonstrate how to quickly change chart data range utilizing a combobox (drop-down list). The above […]
How to build an interactive map in Excel
This article describes how to create a map in Excel, the map is an x y scatter chart with an […]
I made a heat map calendar a few months ago and it inspired me to write this article. The heat […]
One Response to “How to create a map chart”
Leave a Reply
How to comment
How to add a formula to your comment
<code>Insert your formula here.</code>
Convert less than and larger than signs
Use html character entities instead of less than and larger than signs.
< becomes < and > becomes >
How to add VBA code to your comment
[vb 1="vbnet" language=","]
Put your VBA code here.
[/vb]
How to add a picture to your comment:
Upload picture to postimage.org or imgur
Paste image link to your comment.
[…] https://www.get-digital-help.com/2017/05/09/excel-map-chart/ […]