function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Alienostreptus', 10], ['Carlogonus', 2], ['Ctenorangoon', 1], ['Gonoplectus', 7], ['Harpagophora', 65], ['Ktenostreptus', 17], ['Leptostreptus', 1], ['Metaphora', 2], ['Poratophilus', 1], ['Remulopygus', 3], ['Thyropygus', 9], ['Zinophora', 164] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Genus (n=282)', 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);