function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Hayes, Polly & Justine, Jean-Lou & Boxshall, Geoffrey A.', 1], ['Ho, Ju-Shey & Lin, Ching-Long', 1], ['Suárez-Morales, Eduardo & Kim, Il-hoi & Escamilla, B.', 1], ['Venmathi Maran, B. A. & Ohtsuka, Susumu & Shang, Xu', 1], ['Özak, Argun Akif & Kurt, Tuba Terbiyik & Kamanli, Seyit Ali', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=5)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 5, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);