function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Erichson, Wilhelm Ferdinand', 1], ['Ghahari, Hassan & Mazur, Slawomir & Ostovan, Hadi', 1], ['Lackner, Tomáš & Vienna, Pierpaolo', 1], ['Leschen, Richard A. B. & Ôhara, Masahiro', 1], ['Mazur, S. & A. V & A. V', 2], ['Mazur, Sławomir & V, Alexey & V, Alexander & Barševskis, Arvids', 1], ['Penati, Fabio', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=8)', 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);