function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Cabebe-Barnuevo, Roxanne A. & Obar, El Andro A.', 1], ['Ho, Hsuan-Ching & Smith, David G. & Mccosker, John E.', 2], ['McClelland, J.', 3], ['Smith, David G.', 1], ['Smith, David G. & Bogorodsky, Sergey V. & Mal, Ahmad O.', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=8)', 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);