function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Achterberg, Cornelis van', 2], ['Braet, Yves & Rousse, Pascal & Sharkey, Michael', 12], ['Kittel, Rebecca N.', 2], ['Madl, M. & Achterberg, C. Van', 13], ['N. S & Ghahari, H. & W, Ascogaster & P, Chelonus', 2], ['Szépligeti, Gyozo', 2], ['Zettel, Herbert', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=34)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 7, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);