function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Coleophora', 798], ['Dais', 0], ['Daphne', 9], ['Dirca', 0], ['Drapetes', 15], ['Gnidia', 10], ['Lophostoma', 8], ['Octolepis', 12], ['Passerina', 1], ['Peddiea', 1], ['Phaleria', 0], ['Solmsia', 180], ['Struthiola', 1], ['Thymelaea', 12], ['Wikstroemia', 3] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Genus (n=1050)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);