function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Brusa, Francisco & Damborenea, Cristina', 2], ['Bulnes, V. N. & Faubel, A. & Park, J. - K.', 2], ['Faubel, Anno', 3], ['Holleman, John J.', 1], ['Marquina, Daniel & Osca, David & Rodríguez, Jorge', 1], ['Rodríguez, Jorge & Hutchings, Pat A. & Williamson, Jane E.', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=13)', 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);