function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Gomes do Nascimento, Géssica Maria', 6], ['Ivanets, Viktoria & Wierzgoń, Mariusz & Yevchun, Hanna', 1], ['Liu, Yong-Ying & Quan, Yu-Ping & Wu, Yu-Huan', 2], ['Oliveira, Regigláucia Rodrigues de', 1], ['Osman, Imen Ben & Hugonnot, Vincent & Muller, Serge D.', 2], ['Price, Michelle J.', 6], ['Spence, John R.', 13] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=31)', 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);