function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Hoffman, Richard L.', 4], ['Hollier, John & Stöckli, Eduard & Wesener, Thomas', 3], ['John Hollier & Edmund Schiller & Nesrine Akkari', 10], ['Keller, Oliver & Dunn, Ann & Soto-Adames, Felipe', 3], ['Shear, William A. & Ferreira, Rodrigo Lopes', 2], ['Shelley, Rowland M. & Espino, Ancelmo Orona', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=25)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 6, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);