function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Banks, Nathan', 1], ['Borges, Paulo A. V. & Gaspar, Clara', 6], ['Edwards, B. A. B.', 1], ['Georgiev, D. & Ruchin, A. B.', 2], ['Lienhard, Charles & Mifsud, David', 1], ['Lienhard, Charles & Philip Ashmole, N.', 2], ['New, Tim R.', 3], ['Ostrovsky, A. M.', 4], ['Schmidt, Evan R. & New, Tim R.', 2], ['Smithers, C. N.', 2], ['Thornton, Ian W. B. & Wong, Siu-Kai', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=25)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);