function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Hirata, Takuma & Fujiwara, Yoshihiro & Kikuchi, Tomohiko', 2], ['Hirata, Takuma & Kikuchi, Tomohiko', 1], ['Lee, Christine N. W. & Bamber, Roger N.', 1], ['Moreira, Juan & Esquete, Patricia & Cunha, Marina R.', 3], ['Ortiz, Manuel & Winfield, Ignacio & Cházaro-Olvera, Sergio', 1], ['Othman, B. H. R. & Toda, T. & Kikuchi, T.', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=9)', 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);