google.load("visualization", "1", {packages:["geochart"]});
google.setOnLoadCallback(drawRegionsMap);
function drawRegionsMap() {
var data = google.visualization.arrayToDataTable([
['Land','Befolkningstetthet(pr kvkm)', 'Innbyggere'],
['Norge',15.4, 5009150],
['Sverige',21.2, 9555893],
['Danmark',127.2, 5484000],
['Finland',15.5, 5244000],
['Island', 2.9,308910]
]);
var chart = new google.visualization.GeoChart(document.getElementById('scandinavia'));
var options = {
region: '154', // Northern Europe
keepAspectRatio:true,
width:400,
chart: {title: 'Befokning'},
title: 'Befokning',
titlePosition:'in',
titleTextStyle:{color: 'black'},
datalessRegionColor :'FAFAFA',
colorAxis:{minValue: 2, maxValue:130, colors: ['#FF9999', '#FF0000']}
};
chart.draw(data, options);
}