function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Boddaert, Pieter', 1], ['Gloger, Constantin Wilhelm Lambert', 1], ['Gray, George Robert', 1], ['Müller, Philipp Ludwig Statius', 1], ['Posso, Sérgio Roberto & Donatelli, Reginaldo José', 1], ['Sparrman, Anders', 1], ['Temminck, Coenraad Jacob', 1], ['Vieillot, Louis Pierre', 2], ['Whitney, Bret M. & Piacentini, Vítor De Q. & Schunck, Fábio', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=10)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);