function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Gourlay, Edward S.', 1], ['Liston, Andrew & Prous, Marko & Macek, Jan', 1], ['Liston, Andrew D.', 1], ['Liston, Andrew D. & Knight, Guy T. & Sheppard, David A.', 8], ['Schedl, W.', 4], ['Schedl, Wolfgang', 1], ['Shinohara, Akihiko', 6], ['Shinohara, Akihiko & Hara, Hideho & Smith, David R.', 6], ['Shinohara, Akihiko & Kameda, Yuichi', 5], ['Smith, Frederick', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=34)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);