function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['', 19], ['Ankylocythere', 93], ['Ascetocythere', 1], ['Aurumcythere', 9], ['Donnaldsoncythere', 20], ['Entocythere', 100], ['Harpagocythere', 1], ['Hartiella', 1], ['Sphaeromicola', 19], ['Uncinocythere', 31] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Genus (n=294)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);