function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['', 22], ['Bourgueticrinida', 66], ['Brisingida', 9], ['Comatulida', 925], ['Cyrtocrinida', 2], ['Hyocrinida', 19], ['Inadunata', 0], ['Isocrinida', 1553] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Order (n=2596)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 8, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);