function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['albifrons', 3], ['alternans', 1], ['andiana', 12], ['bucephala', 1], ['catesbyi', 2], ['cenchoa', 2], ['copei', 1], ['indica', 1], ['lavillai', 1], ['mikanii', 1], ['nicholsi', 11], ['oreas', 7], ['pavonina', 2], ['variegata', 18], ['ventrimaculatus', 3], ['Other (5)', 5] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=71)', 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);