function drawChartSpecimensByCountry() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['', 114], ['Brazil', 29], ['Colombia', 106], ['Costa Rica', 39], ['Ecuador', 84], ['French Guiana', 7], ['Guatemala', 1], ['Mexico', 107], ['Panama', 34], ['Peru', 12], ['Venezuela', 252] ]); var chartOptions = { region: 'world', fontSize: 'automatic', title: 'n=785', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByCountry', 'geo', 11, 0); var chart = new google.visualization.GeoChart(document.getElementById('chartDivSpecimensByCountry')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['geochart']}); google.setOnLoadCallback(drawChartSpecimensByCountry);