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