function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Alatotrochus', 236], ['Conocyathus', 118], ['Cyathotrochus', 684], ['Deltocyathoides', 103], ['Dunocyathus', 391], ['Endocyathopora', 47], ['Foveolocyathus', 110], ['Lissotrochus', 344], ['Notocyathus', 390], ['Peponocyathus', 436], ['Platytrochus', 175], ['Sphenotrochus', 757], ['Thrypticotrochus', 964], ['Trematotrochus', 457], ['Tropidocyathus', 26], ['Other (8)', 30] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Genus (n=5268)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);