function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['A. Constable', 27], ['Annals of the Carnegie Museum', 4], ['Anzeiger', 5], ['Beverley Tucker', 6], ['Biodiversity Data Journal', 10], ['F. S. Hübschmann, Monachii [= Munich] & Fleischer, Lipsiae [= Leipzig]', 7], ['Monatsberichte der Akademie der Wissenschaft zu Berlin', 6], ['Mémoires du Muséum National d’Histoire Naturelle, Série A, Zoologie', 5], ['Neotropical Ichthyology', 43], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 12], ['Proceedings of the American Philosophical Society', 9], ['Proceedings of the United States National Museum, 3', 9], ['Proceedings of the Zoological Society of London, B', 13], ['Sitzungsberichte der Kaiserlichen Akademie der Wissenschaften, Mathematisch-Naturwissenschaften Classe', 6], ['Zootaxa', 45], ['Other (52)', 74] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=281)', 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);