function drawChartSpecimensByCountry() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['', 151], ['Brazil', 930], ['China', 1], ['India', 12], ['Malaysia', 3], ['Myanmar', 1], ['Nepal', 2], ['New Caledonia', 1], ['Saudi Arabia', 2], ['Vietnam', 1] ]); var chartOptions = { region: 'world', fontSize: 'automatic', title: 'n=1104', 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);