function drawChartTreatmentsPerAuthor() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bleeker, Pieter', 2], ['Chang, H. - W.', 1], ['Chaudhuri, B. L.', 1], ['Fowler, Henry Weed', 2], ['Heok Hee Ng', 2], ['Klausewitz, Wolfgang', 1], ['Mai, D. Y.', 1], ['Maurice Kottelat', 5], ['Ng, Heok Hee', 1], ['Roberts, Tyson R.', 1], ['Sauvage, H. E.', 2], ['Smith, H. M.', 2], ['Taki, Y. & Doi, Atsushi', 1], ['Tchang, T. - L.', 1], ['Wu, H. - W.', 4], ['Other (2)', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Author (n=29)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerAuthor', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerAuthor')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerAuthor);