function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Anzeiger', 1], ['Bulletin de la Société Philomathique de Paris, Série 7', 1], ['Comunicaciones del Museo Nacional de Buenos Aires', 1], ['F. S. Hübschmann, Monachii [= Munich] & Fleischer, Lipsiae [= Leipzig]', 1], ['Monatsberichte der Akademie der Wissenschaft zu Berlin', 2], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 3], ['Proceedings of the American Philosophical Society', 1], ['Proceedings of the California Academy of Sciences, Series 2', 1], ['Revue et Magasin de Zoologie, Série 2', 1], ['Sitzungsberichte der Kaiserlichen Akademie der Wissenschaften, Mathematisch-Naturwissenschaften Classe', 9] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=21)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);