function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['', 2], ['etendekaense', 16], ['foliaceum', 9], ['glutinosum', 4], ['karasbergense', 7], ['konkiepense', 9], ['mannheimerae', 21], ['ovatum', 0], ['sesfonteinense', 1], ['suspiriosum', 2] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=71)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);