function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['agilis', 21], ['burtik', 17], ['cingulatus', 11], ['clavatus', 39], ['coviellai', 24], ['gak', 10], ['gracilis', 14], ['klopomor', 142], ['logarzoi', 18], ['miridiphagus', 25], ['mudrila', 8], ['psallidis', 18], ['rosascostai', 154], ['toreador', 49], ['verticillatus', 24], ['Other (18)', 53] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=627)', 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);