function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bleeker, Pieter', 5], ['Chaudhuri, B. L.', 1], ['Goutham-Bharathi, M. P. & Sirajudheen, T. K.', 1], ['Hollard, H. L. G. M.', 2], ['Ogilby, J. D.', 1], ['Pietschmann, V.', 1], ['Regan, C. T.', 1], ['Zainal Abidin, Danial Hariz & Lavoué, Sébastien', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=13)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 8, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);