function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['', 4], ['Amphidiscosida', 20080], ['Aulocalycoida', 1], ['Hexactinosida', 9167], ['Lychniscosida', 1], ['Lyssacinosida', 10334], ['Ophiurida', 2], ['Sceptrulophora', 2676] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Order (n=42265)', 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);