function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Buchannan, Francis', 1], ['Dayrat, Benoit & Goulding, Tricia C. & Apte, Deepak', 14], ['Dayrat, Benoit & Goulding, Tricia C. & Khalil, Munawar', 6], ['Dayrat, Benoît & Goulding, Tricia C. & Apte, Deepak', 5], ['Dayrat, Benoît & Goulding, Tricia C. & Bourke, Adam J.', 5], ['Dayrat, Benoît & Goulding, Tricia C. & Khalil, Munawar', 9], ['Dayrat, Benoît & Zimmermann, Sara & Raposa, Melissa', 9], ['Evenhuis, Neal L. & O’Hara, James E. & Pape, Thomas', 1], ['Goulding, Tricia C. & Bourke, Adam J. & Comendador, Joseph', 12], ['Goulding, Tricia C. & Khalil, Munawar & Tan, Shau Hwai', 13], ['Goulding, Tricia C. & Tan, Shau-hwai Aileen & Tan, Siong Kiat', 1], ['Maniei, Fatemeh & Espeland, Marianne & Movahedi, Mohammad', 2], ['Sreeraj, Chemmencheri Ramakrishnan & Raghunathan, Chelladurai', 2], ['Zvonareva, Sofya & Kantor, Yuri', 7] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=87)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);