Search
Clear search
Close search
Google apps
Main menu

Fusion Tables is an experimental app.

Specify country regions on an intensity map

This feature is only available in classic Fusion Tables.

To specify country regions on an intensity map:

  1. Click Visualize > Intensity Map.
  2. Type the name of the region or country in the "Area" text box.
  3. Select from the drop-down list of suggestions.

Sub-country administrative regions are not available for all countries. To determine if the country you are trying to map is supported, and to identify the standard codes used for those country regions, follow the instructions provided below.

To determine the coverage and codes used by the intensity map:

function drawVisualization() {
    var data = new google.visualization.DataTable();
    data.addRows(1);
    data.addColumn('string', 'Country');
    data.addColumn('number', 'Popularity');
    data.setValue(0, 0, 'FR');
    data.setValue(0, 1, 0);
    var options = {};
     options['region'] = 'FR';
     options['dataMode'] = 'regions';   
    var geomap = new google.visualization.GeoMap(
        document.getElementById('visualization'));
     google.visualization.events.addListener(
          geomap, 'regionClick', function(e) {
        alert (e['region']);        
      }); 
    geomap.draw(data, options);
}
  1. Make sure you have the two-digit country code
  2. Go to http://code.google.com/apis/ajax/playground/?type=visualization#geo_map
  3. Delete everything inside the "edit code" box.
  4. Paste this instead (FR is for France; replace FR with the relevant code for you)
  5. Click on "run code"
  6. The country you are interested in should be highlighted in the map window.
  7. If boundaries do appear, click on regions to discover their code.  

If no boundaries appear within the country, sub-national regions are not supported. If the intensity map doesn't support your desired country, try locating a KML file with the desired boundaries, importing it into Fusion Tables, and making a custom intensity map.