function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bentham, George', 1], ['Blume, Carl Ludwig von', 1], ['Fici, Silvio', 2], ['Fici, Silvio & Souvannakhoummane, Keooudone', 1], ['Jarvis, Charlie', 56], ['Linnaeus, Carolus', 17], ['Mille, Christian & Henderson, Rosa C. & Cazères, Sylvie', 1], ['Olson, E. & Razafimandimbison, Sylvain G.', 1], ['Schlechter, Fridrich Richard Rudolf', 1], ['Sharma, Prashant P. & Kury, Adriano B. & Giribet, Gonzalo', 3], ['Souvannakhoummane, Keooudone & Fici, Silvio', 1], ['Szidat, L. & Nani, A.', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=86)', 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);