function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['\'ap1\'', 56], ['\'ap2\'', 166], ['\'ap3\'', 83], ['abdominalis', 54], ['ariadne', 13], ['benedictae', 28], ['prasina', 55], ['roseusfrontata', 12], ['venosa', 3], ['ventralis', 46], ['zelleri', 65] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=581)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);