function drawChartSpecimensByCountry() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['', 23], ['Argentina', 1], ['France', 8], ['Italy', 28], ['Norway', 933], ['Saint Vincent and the Grenadines', 1], ['South Africa', 1], ['Sweden', 6], ['United Kingdom', 7], ['Venezuela', 2] ]); var chartOptions = { region: 'world', fontSize: 'automatic', title: 'n=1010', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByCountry', 'geo', 10, 0); var chart = new google.visualization.GeoChart(document.getElementById('chartDivSpecimensByCountry')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['geochart']}); google.setOnLoadCallback(drawChartSpecimensByCountry);