function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Abraham, Phineas S.', 26], ['André, E ́ mile', 1], ['Cetra, Nicolás & Roche, Andrea', 1], ['Delgado, Marlon & Freire, Fúlvio Aurélio de Morais', 2], ['Eliot, C. N. E.', 3], ['Grandez, Alessandra & Ampuero, Andre & Barahona, Sergio P.', 1], ['Gutiérrez, Manuel Caballer & Ortea, Jesús & Rivero, Nelsy', 4], ['Kelaart, Edward Frederick', 32], ['Linnaeus, Carolus', 2], ['Mehrotra, Rahul & A. Caballer Gutierrez, Manuel & M. Scott, Chad', 5], ['Montagu, George', 3], ['Müller, O. F.', 2], ['Pease, W. H.', 14], ['Tibiriçá, Yara & Pola, Marta & Cervera, Juan Lucas', 2], ['Valdés, Ángel', 23], ['Other (2)', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=123)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);