function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['A. Constable', 1], ['Anzeiger', 1], ['Beaufortia', 1], ['Biogeographical Society of Japan, Tokyo', 1], ['Biol. Results " Endeavour "', 3], ['Bulletin de la Société Zoologique de France', 1], ['Bulletin du Muséum National d’Histoire Naturelle, Série 2', 1], ['Check List', 5], ['E. J. Brill', 1], ['Journal and Proceedings of the Asiatic Society of Bengal', 2], ['Journal of Natural History', 1], ['Journal of the Academy of Natural Sciences of Philadelphia, Second Series', 1], ['Kungliga Svenska Vetenskapsakademiens Handlingar', 1], ['Rep. Inst. Fish. Biol., Taipei', 2], ['Zootaxa', 13], ['Other (11)', 11] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=46)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);