function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['', 2], ['apicalis', 1], ['australis', 7], ['crassivena', 3], ['deficiens', 14], ['indefinita', 2], ['lygivorus', 277], ['orchesiae', 5], ['pallipes', 9], ['picipes', 3], ['pubiscutum', 15], ['simoni', 110], ['uniformis', 493] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=941)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);