function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bossert, Silas & Noort, Simon van', 3], ['Davies, G. B. P. & Eardley, C. D. & Brothers, D. J.', 11], ['Davies, Gregory B. P. & Brothers, Denis J.', 5], ['Davies, Gregory B. P. & Eardley, Connal D. & Brothers, Denis J.', 2], ['Kuhlmann, Michael', 22], ['Kuhlmann, Michael & Friehs, Thyra', 21], ['Mack, Anne & Kuhlmann, Michael', 36] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=100)', 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);