function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['arachnoideum', 0], ['ciliatum', 2], ['heuffelii', 4], ['kopaonikense', 1], ['montanum', 0], ['patens', 1], ['tectorum', 0], ['velenovskyi', 1] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=9)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 8, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);