function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Japoshvili, George & Khachikov, Eduard', 1], ['Pérez-Hernández, Cisteil Xinum', 1], ['Shavrin, Alexey V.', 4], ['Shavrin, Alexey V. & Khachikov, Eduard A.', 3], ['Shavrin, Alexey V. & Smetana, Aleš & Agr. Gc', 2], ['Thomson, Carl Gustaf', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=12)', 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);