function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Barrales-Alcalá, Diego', 9], ['De Armas, Luis F.', 1], ['Franganillo Balboa, P.', 1], ['Hirst, Stanley', 1], ['Lazell, James', 1], ['Lönnberg, E.', 1], ['Pocock, Reginald Innes', 2], ['Roewer, Carl Friedrich', 1], ['Teruel, Rolando', 1], ['Valerio, C. E.', 1], ['Villarreal M., Osvaldo & Giupponi, Alessandro Ponce De Leão', 1], ['Viquez, Carlos & De Armas, Luis F.', 1], ['Viquez, Carlos & De, Luis F.', 1], ['Werner, F.', 1], ['de Mello-Leitão, Cândido Firmino', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=25)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);