function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Bacillidesmus', 1], ['Balkanodesminus', 22], ['Banatodesmus', 3], ['Cottodesmus', 1], ['Haplocookia', 0], ['Heterocookia', 1], ['Moojenodesmus', 5], ['Rhodopodesmus', 4], ['Trichopolydesmus', 0] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Genus (n=37)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);