function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Carapia-Ruiz, Vicente Emilio & Sánchez-Flores, Oscar Ángel', 2], ['Dooley Iii, John W. & Lambrecht, Susan & Honda, Jeffrey', 6], ['Manzari, Shahab & Quicke, Donald L. J.', 1], ['Martin, Jon H.', 1], ['Martin, Jon H. & Mound, Laurence A.', 1], ['Polaszek, Andrew & Gill, Raymond', 2], ['Sánchez-Flores, Oscar Ángel & Carapia-Ruiz, Vicente Emilio', 5] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=18)', 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);