function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['cooteri', 16], ['crenulicauda', 32], ['elegans', 30], ['ghoropanensis', 2], ['gonggaensis', 6], ['hilaris', 4], ['indica', 3], ['rougemonti', 1], ['taiwanensis', 25], ['thailandensis', 3] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=122)', 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);