function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['-', 2], ['Guilbert, Eric', 11], ['Guilbert, Eric & Guidoti, Marcus', 4], ['Guilbert, Eric & Heiss, Ernst', 2], ['Heiss, Ernst & Eckelt, Andreas & Lederwasch, Manfred', 4], ['Ishikawa, Tadashi & Saito, Masayuki U. & Kishimoto-Yamada, Keiko', 2], ['Krüger, Andreas & Deckert, Jürgen', 2], ['Souma, Jun & Ishikawa, Tadashi', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=31)', 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);