function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Acropomatidae', 1010], ['Apogonidae', 3324], ['Carangidae', 738], ['Cepolidae', 684], ['Cichlidae', 2503], ['Gobiidae', 5292], ['Haemulidae', 611], ['Leiognathidae', 675], ['Mullidae', 442], ['Opistognathidae', 508], ['Sciaenidae', 743], ['Serranidae', 1016], ['Sparidae', 1493], ['Terapontidae', 594], ['Tripterygiidae', 1153], ['Other (106)', 6892] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Family (n=27678)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);