function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annales du Musée du Congo Belge, Série 1, Zoologiques', 3], ['Anzeiger', 1], ['Bulletin du Muséum National d’Histoire Naturelle, Série 2', 1], ['Bulletin of the American Museum of Natural History', 1], ['Journal of Natural History', 3], ['Monatsberichte der Akademie der Wissenschaft zu Berlin', 3], ['Proceedings of the Zoological Society of London, B', 1], ['Rev. Scientifique', 1], ['Revue Zoologique Africaine', 1], ['Sitzungsberichte der Kaiserlichen Akademie der Wissenschaften, Mathematisch-Naturwissenschaften Classe', 1], ['Zoological Journal of the Linnean Society', 1], ['Zootaxa', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=19)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);