function drawChartSpecimensByEpithet() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Specimen Count (overall)'], ['atricapilla', 1], ['castaneothorax', 4], ['grammatoptiliphagus', 1], ['himalayanus', 1], ['leucogastra', 4], ['maja', 1], ['monticola', 1], ['pallidiventer', 3], ['punctulata', 93], ['spectabilis', 8], ['teerinki', 16] ]); var chartOptions = { pieHole: 0, title: 'Specimens by Species (n=133)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'SpecimensByEpithet', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivSpecimensByEpithet')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartSpecimensByEpithet);