function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['albipennis', 15], ['bimaculata', 25], ['caerulea', 17], ['chrysomeloides', 48], ['collaris', 14], ['coomani', 21], ['impunctata', 1], ['japonica', 34], ['maculicollis', 8], ['montivaga', 8], ['sumatrana', 53], ['takizawai', 7] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=251)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);