function drawChartSpecimensByCountry() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['', 2020], ['Algeria', 2], ['Angola', 2], ['Antarctica', 1194], ['Argentina', 36], ['Australia', 11], ['Benin', 3], ['Brazil', 7], ['British Virgin Islands', 6], ['Canada', 8], ['Chile', 22], ['China', 2], ['Clipperton Island', 2], ['Costa Rica', 5], ['Croatia', 12], ['Cuba', 2], ['Denmark', 2], ['Ecuador', 5], ['Egypt', 1], ['Falkland Islands', 9], ['Faroe Islands', 2], ['France', 16], ['Gabon', 2], ['Georgia', 20], ['Ghana', 1], ['Greenland', 4], ['Guadeloupe', 1], ['Guinea-Bissau', 1], ['Haiti', 1], ['Iceland', 10], ['India', 1], ['Indonesia', 4], ['Ireland', 2], ['Israel', 1], ['Japan', 131], ['Liberia', 1], ['Madagascar', 2], ['Malaysia', 1], ['Mexico', 113], ['Morocco', 2], ['Mozambique', 2], ['New Caledonia', 3], ['New Zealand', 25], ['Nigeria', 1], ['Norway', 16], ['Pakistan', 2], ['Panama', 25], ['Peru', 3], ['Philippines', 8], ['Puerto Rico', 1], ['Republic of the Congo', 1], ['Saint Vincent and the Grenadines', 5], ['Singapore', 28], ['Somalia', 1], ['South Africa', 8], ['South Georgia and the South Sandwich Islands', 2], ['Sri Lanka', 1], ['Svalbard and Jan Mayen', 2], ['Sweden', 1], ['Tanzania', 1], ['Tunisia', 8], ['Turkey', 1], ['United Kingdom', 27], ['United States of America', 26], ['Uruguay', 2], ['Venezuela', 3], ['Yemen', 2], ['flores island', 1], ['guadalupe island', 1], ['isla guadalupe', 1], ['peru chile', 1], ['south georgia island', 1] ]); var chartOptions = { region: 'world', fontSize: 'automatic', title: 'n=3877', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByCountry', 'geo', 72, 0); var chart = new google.visualization.GeoChart(document.getElementById('chartDivSpecimensByCountry')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['geochart']}); google.setOnLoadCallback(drawChartSpecimensByCountry);