Showing data on a map using postcodes

Someone has asked the best way to display information related to a postcode on a map. I thought I would blog this as it is a common issue I am asked about.

There are a number of ways, each with their own strengths and weaknesses. However, in my opinion, the best (and cheapest, assuming you can abide with the Google Fusion Table licence) non-programming way is to use Google Fusion Tables. I am a big fan of Google Fusion Tables – see my previous blog post here.

My example of a postcode based fusion table map.

Google Fusion Tables allow you to import data from Excel and, assuming it has location data in it, then you can display it on a map. Google have some great examples of how to do this with a video here and a step by step guide here.

I have also produced a simple map from this data and shared it for you so see what is possible. A picture of the map is shown on the right so you know what to expect.

A few pointers from me on Fusion Tables

The Google information is great but here are a few things that you might save you some time.

  • Import: You can import straight from Excel but it doesn’t handle columns with formulas, which has caused me problems in the past (they may have fixed that). Therefore I normally import from CSV (comma separated values) files.
  • Consider using lat/long: If you supply postcodes then you a) need to tell Google which of your columns holds the postcode and b) it has to go through a geocoding step. If you are updating the data a lot then this adds extra steps and takes time. I therefore recommend supplying latitude and longitude data instead of postcodes. Google will automatically set columns called ‘latitude’ and’ longitude’ as the location columns and it doesn’t need to go through the geocoding process.
    Free Postcode to Latitude and Longitude data is available via here but it gives the coordinates in Northings and Eastings, not lat/long. However someone at has very helpfully converted the list to include latitude and longitude – see this link here (note the file is very large)
  • Dynamic Icons: I find the default icon not very useful and I set map configuration to select the icon using a column in your data. This gives me full control of what icon appears where. There are lots of different icons – see here for a map showing all the icons (click on an icon to see its name).
  • Sharing: With the free licence your data is either private to you or publicly available (but can be hidden), i.e. you can’t share it with a few people privately. What I normally do is share it with the option ‘Anyone with the link’, which means that search engines won’t find it but people can access it if they want. Please read the Google Fusion Table licence for the specifics of what you are allowed to do.

I hope this helps everybody. Feel free to ask questions on my blog and I will try to get back to you with answers.

Jon Smith
Selective Analytics


  1. […] thing about this is you could try things very easily without writing any code. See my other blog here with tips on using Google Fusion Table via import form […]

  2. JJONES says:


    Very useful article. Been trying to use Fusion for a while now but cannot seem to get different icons to show (everything placemark shows as the same small red dot). Do I need to modify the column that contains with icon I would like to have for a particular postcode?



    • Jon Smith says:

      Hi Jon,

      There are a number of ways of displaying different icons. It sounds like you have put a column in your data with the icon in as I did in my example data. To make this column show on the map you need to do the following.

      This assumes you are in the standard (known as new look) mode as that is now the default for Fusion Tables. The Google help link here contains information on how to do this in old (known as Classic) mode if you need it.

      1. Display your data as a map by clicking on the file in your Google docs/Drive then click Map of Location to make the map appear.
      2. Click Tools > Configure styles on the top left menu.
      3. Click Change map styles and then select the tab Column.
      4. You should now see a checkbox with the text Use icon specified in a column which you should turn on.
      5. Now select the column in your data that has the icon name in using the dropdown list underneath.
      6. Click Save and you should see your icons change.

      Note that if the text in the column is not a valid icon then it will show the standard small red dot instead so check you have the icon name right. See this useful map showing all the valid icons (click on an icon to get its name).

      More information is available here on the specifics about all the ways of making the icon change, not just using a column.

      I hope that helps.

      Jon Smith

  3. JJONES says:

    That’s brilliant Jon, thank you very much indeed.

  4. […] Our blog on how to show postcodes using fusion tables – link […]

  5. hit says:

    This website might be a walk-by technique of for all of the files you needed relating to this and didn’t know who to ask. Glance here, and also you’ll surely uncover that.

  6. Jon Smith says:

    Note that the June 2013 issue of PCPro magazine in the UK has a very useful four page article on using Google Fusion Tables for data visualisation. Unfortunately I can’t find a link to the article on their web site but maybe it will appear later.

Leave A Reply