function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['bodenheimeri', 7], ['derasella', 9], ['foliforma', 39], ['fuscusitis', 35], ['hainanensis', 35], ['limbipunctellus', 12], ['magnimacularis', 12], ['matsumurai', 8], ['myriaodontosa', 7], ['obsepta', 75], ['orientis', 36], ['parallelosa', 7], ['polygona', 44], ['spinosella', 12], ['splendiptera', 12], ['Other (106)', 177] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=527)', 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);