function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['acutunca', 35], ['adustipennis', 119], ['albilinella', 253], ['chloranthes', 22], ['corsicella', 80], ['epiochra', 38], ['ioloncha', 392], ['kruegeri', 48], ['ochracella', 45], ['orientella', 23], ['oxycedrella', 98], ['safranella', 18], ['silacella', 194], ['sublutiana', 197], ['trinotella', 68], ['Other (25)', 146] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=1776)', 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);