function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['albiclava', 5], ['albicoxa', 11], ['carinifer', 59], ['costulata', 15], ['cristata', 2], ['metallica', 1], ['parva', 29], ['pedunculata', 276], ['pilosa', 5] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=403)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);