function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Asaccus', 30], ['Gymnodactylus', 43], ['Phyllodactylus', 55], ['Phyllopezus', 23], ['Ptyodactylus', 14], ['Tarentola', 9], ['Thecadactylus', 1] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Genus (n=175)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 7, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);