function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Blume, Carl Ludwig von', 1], ['Hess, Hans Ernst & Landolt, Elias & Hirzel, Rosmarie', 2], ['Howell, Nathan & Krings, Alexander & Braham, Richard R', 4], ['Info Flora', 1], ['Jarvis, Charlie', 19], ['Li, Zhi-Zhong & Wei, Neng & Liu, Yan & Chen, Jin-Ming', 1], ['Merrill, Elmer Drew & Perry, Lily May', 2], ['Pérez-Pérez, Miguel A. & Ayers, Tina J. & Amith, Jonathan D.', 1], ['Rollim, Isis De Mello & Coelho, Guilherme Peres', 12], ['Royen, Pieter van', 2], ['Thornhill, Robert & Krings, Alexander & Lindbo, David', 6], ['Zhou, Ya-Dong & Mwachala, Geoffrey & Hu, Guang-Wan', 10] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=61)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);