function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Barton, O.', 1], ['Katayama, M. & Amaoka, Kunio', 1], ['Kon, T. & Yoshino, Tetsuo & Sakurai, Y.', 1], ['Pellegrin, J.', 1], ['Randall, John Ernest Dr. & Maugé, Louis André & Plessis, Yves B.', 1], ['Talwar, P. K.', 1], ['William D. Anderson, Jr.', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=9)', 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);