function drawChartSpecimensByCountry() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Brazil', 6], ['Colombia', 5], ['Ecuador', 1], ['Mexico', 1], ['Nicaragua', 1], ['Paraguay', 1], ['Peru', 2] ]); var chartOptions = { region: 'world', fontSize: 'automatic', title: 'n=17', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByCountry', 'geo', 7, 0); var chart = new google.visualization.GeoChart(document.getElementById('chartDivSpecimensByCountry')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['geochart']}); google.setOnLoadCallback(drawChartSpecimensByCountry);