function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Barnes, Natalie & Kim, Hyeong Geun & Lee, Wonchoel', 4], ['Hong, Jung-Ho & Tchesunov, Alexei V. & Lee, Wonchoel', 2], ['Huang, Mian & Jia, Susu & Huang, Yong', 2], ['Khudhir, Manda & Hodda, Mike & Nicholas, Evelyn', 1], ['Leduc, Daniel', 5] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=14)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 5, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);