function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Chen, I-Shiung & Harefa, Tonisman & Chang, Yung-Ching', 2], ['Chen, J. T. F. & Liang, Y. - S.', 1], ['Doi, Atsushi & Kottelat, Maurice', 1], ['Ho, Hsuan-Ching & Shao, Kwang-Tsao', 2], ['Kottelat, Maurice', 2], ['Li, Z. - Y. & Chen, Y. - R.', 1], ['Nichols, J. T.', 1], ['Zheng, C. - Y.', 1], ['Zheng, C. - Y. & Chen, Y. - R. & Huang, S.', 1], ['Zheng, C. - Y. & Chen, Y. - Y.', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=13)', 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);