function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['DeWalt, R. Edward & Grubbs, Scott A.', 1], ['Hicks, Bill P. Stark and Matthew B.', 1], ['Murányi, Dávid & Gamboa, Maribet & Orci, Kirill Márk', 1], ['Nations, Tina M. & Stark, Bill P. & Hicks, Matthew B.', 2], ['Ray, Donald H. & Abad, Rick L. & Rasmussen, Andrew K.', 1], ['Stark, Bill P. & Harrison, Audrey B. & Nye, Kelly C.', 1], ['Verdone, Chris J. & Kondratieff, Boris C. & DeWalt, R. Edward', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=8)', 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);