function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Anchocoema', 2], ['Cephalocoema', 3], ['Corynorhynchus', 2], ['Hybusa', 1], ['Milenascopia', 534], ['Nodutus', 1], ['Orienscopia', 8], ['Paraproscopia', 1], ['Proscopia', 2], ['Pseudoproscopia', 471], ['Scleratoscopia', 1], ['Stiphra', 7] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Genus (n=1033)', 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);