function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['acuminus', 12], ['alticola', 8], ['bomiensis', 3], ['brachialis', 12], ['devi', 1], ['fasciae', 4], ['gaoligongensis', 4], ['gigapophysis', 6], ['japonicus', 22], ['macrochelis', 3], ['minor', 5], ['nanyueensis', 2], ['shilinensis', 3], ['sinensis', 8], ['vulcani', 7], ['Other (3)', 3] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=103)', 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);