function drawChartSpecimensByCountry() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['', 142], ['Antigua and Barbuda', 1], ['Argentina', 9], ['Bahamas', 17], ['Belize', 27], ['Bolivia', 48], ['Brazil', 87], ['Colombia', 3], ['Costa Rica', 232], ['Cuba', 67], ['Dominican Republic', 4], ['Ecuador', 63], ['El Salvador', 1], ['French Guiana', 24], ['Guatemala', 37], ['Guyana', 12], ['Haiti', 2], ['Honduras', 99], ['Jamaica', 4], ['Mexico', 218], ['Nicaragua', 18], ['Panama', 101], ['Paraguay', 49], ['Peru', 101], ['Puerto Rico', 1], ['Saint Lucia', 1], ['Suriname', 2], ['Trinidad and Tobago', 7], ['United Kingdom', 7], ['United States of America', 33], ['Venezuela', 10], ['Virgin Islands', 1] ]); var chartOptions = { region: 'world', fontSize: 'automatic', title: 'n=1428', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByCountry', 'geo', 32, 0); var chart = new google.visualization.GeoChart(document.getElementById('chartDivSpecimensByCountry')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['geochart']}); google.setOnLoadCallback(drawChartSpecimensByCountry);