function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Kirk-Spriggs, Ashley H.', 17], ['Kirk-Spriggs, Ashley H. & Wiegmann, Brian M.', 43], ['Klymko, John & Marshall, Stephen A.', 36], ['Lindsay, Kate G. & Klymko, John & Marshall, Stephen A.', 6], ['Mello, Ramon Luciano', 4], ['Mello, Ramon Luciano & Pereira-Colavite, Alessandre', 1], ['Pollock, J. N.', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=109)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 7, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);