function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Dijkstra, Klaas-Douwe B. & Kalkman, Vincent J. & Dow, Rory A.', 1], ['Dow, Rory A.', 2], ['Dow, Rory A. & Choong, Chee Yen & Ng, Yong Foo', 4], ['Kosterin, Oleg E. & Kompier, Tom', 1], ['Lieftinck, M. A.', 2], ['M. A. Lieftinck', 11] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=21)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 6, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);