function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['aberdare', 8], ['baechlii', 5], ['biarmata', 2], ['carpathica', 105], ['chinensis', 2], ['fangi', 2], ['gachilbong', 2], ['gigantea', 2], ['lateralis', 2], ['limatula', 122], ['malekula', 2], ['polyhamata', 3], ['tanna', 3], ['tarsata', 3], ['zomba', 3], ['Other (19)', 24] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=290)', 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);