function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Gore, Ramchandra & Gaikwad, Sayajirao', 4], ['Jarvis, Charlie', 5], ['Nacoulma, Blandine M. I. & Schmidt, Marco & Hahn, Karen', 5], ['Silva, Lucas & Thomaz, Luciana Dias & Dutra, Valquíria Ferreira', 3], ['Silva, Marcos José Da & Antunes, Lorena Lana Camelo', 1], ['Zhou, Ya-Dong & Mwachala, Geoffrey & Hu, Guang-Wan', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=20)', 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);