function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Achelia', 324], ['Ammothea', 39], ['Ammothella', 1610], ['Anisopus', 2], ['Ascorhynchus', 38], ['Cilunculus', 4], ['Dromedopycnon', 2], ['Elassorhis', 2], ['Hemichela', 4], ['Nymphopsis', 5], ['Paranymphon', 1], ['Sericosura', 1], ['Tanystylum', 258] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Genus (n=2290)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);