function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Metacleidochasma', 1], ['Phidolopora', 5], ['Plesiocleidochasma', 45], ['Pleuromucrum', 1], ['Reteporella', 399], ['Reteporellina', 9], ['Rhynchozoon', 46], ['Schizoretepora', 15], ['Schizotheca', 43], ['Stephanollona', 386], ['Triphyllozoon', 10] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Genus (n=960)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);