function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['', 11], ['Chrysomydas', 5], ['Eremohaplomydas', 20], ['Eremomidas', 5], ['Haplomydas', 66], ['Hessemydas', 6], ['Lachnocorynus', 4], ['Leptomydas', 17], ['Mapinguari', 8], ['Mydaselpis', 11], ['Namadytes', 138], ['Namibimydas', 8], ['Plyomydas', 28], ['Rhopalia', 3], ['Syllegomydas', 89], ['Other (4)', 4] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Genus (n=423)', 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);