function drawChartSpecimensByCountry() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['', 1048], ['American Samoa', 1], ['Australia', 155], ['Benin', 32], ['Bolivia', 73246], ['Brazil', 18], ['Brunei', 1], ['Canada', 3], ['Chile', 4], ['China', 1232], ['Colombia', 9], ['Costa Rica', 3], ['Cuba', 1], ['Czech Republic', 4], ['Democratic Republic of the Congo', 1], ['France', 6], ['Ghana', 1], ['Guadeloupe', 1], ['Guinea-Bissau', 2], ['Iceland', 1], ['India', 21], ['Indonesia', 23], ['Iran', 21], ['Israel', 5], ['Italy', 6], ['Japan', 24], ['Kenya', 3], ['Liberia', 1], ['Madagascar', 2], ['Malaysia', 5], ['Mexico', 9], ['Mongolia', 1], ['Morocco', 1], ['New Zealand', 1], ['Oman', 2], ['Pakistan', 1], ['Panama', 3], ['Papua New Guinea', 4], ['Philippines', 1], ['Poland', 1], ['Portugal', 1], ['Puerto Rico', 57243], ['Russia', 4], ['Rwanda', 1], ['Samoa', 4], ['Senegal', 1], ['Sierra Leone', 1], ['South Korea', 3], ['Sri Lanka', 1], ['Sweden', 1], ['Switzerland', 1], ['Taiwan', 16], ['Tanzania', 1], ['Thailand', 106], ['Trinidad and Tobago', 2], ['United Kingdom', 91], ['United States Pacific Island Wildlife Refuges', 4], ['United States of America', 2710755], ['Uzbekistan', 4], ['Venezuela', 1], ['Yemen', 1] ]); var chartOptions = { region: 'world', fontSize: 'automatic', title: 'n=2844146', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByCountry', 'geo', 61, 0); var chart = new google.visualization.GeoChart(document.getElementById('chartDivSpecimensByCountry')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['geochart']}); google.setOnLoadCallback(drawChartSpecimensByCountry);