function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['alsine', 3], ['angulatus', 15], ['circe', 19], ['colubrinus', 9], ['diadematus', 20], ['ishisawai', 4], ['marmoreus', 18], ['matsumotoi', 17], ['pinguis', 2], ['quadratus', 14], ['sturmi', 35], ['triguttatus', 5], ['wanghuai', 2], ['yangchuandongi', 5], ['zhoui', 5], ['Other (3)', 3] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=176)', 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);