function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Carreiro-Silva, M. & Ocaña, O. & Stankovic´, D & Sampaio, Í', 1], ['Low, Martyn E. Y. & Sinniger, Frederic & Reimer, James Davis', 1], ['Reimer, James & Fujii, Takuma', 2], ['Reimer, James D. & Poliseno, Angelo & Hoeksema, Bert W.', 3], ['Swain, Timothy D.', 4], ['Swain, Timothy D. & Swain, Laura M.', 2] ]); 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);