function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['Agoniatitida', 590], ['Ammonitida', 101], ['Ammonoidea', 1648], ['Ceratitida', 180], ['Goniatitida', 1692], ['Goniatitina', 95], ['Myopsida', 1114], ['Nautilida', 210], ['Octopoda', 3105], ['Orthocerida', 105], ['Prolecanitida', 95330], ['Sepiida', 110], ['Sepiolida', 99], ['Tarphycerida', 85], ['Tetrabranchia', 31], ['Other (10)', 54] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Order (n=104549)', 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);