function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['apta', 5], ['biprocera', 6], ['fallax', 1], ['guizhouensis', 4], ['huanglianensis', 5], ['longispina', 1], ['nigra', 1], ['nigrifrontis', 1], ['quadratus', 4], ['quadrimaculata', 1], ['sicula', 1], ['spiculoproceris', 1], ['truncatoloba', 12], ['ulla', 3], ['xinganensis', 6], ['Other (2)', 2] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=54)', 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);