function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 1], ['Annales du Musee Royale de l\'Afrique Centrale, Zoologie, Serie 8', 3], ['Annales du Musée du Congo Belge, Série 1, Zoologiques', 3], ['Aqua, Journal of Ichthyology and Aquatic Biology', 1], ['Bulletin de la Société Zoologique de France', 1], ['Bulletin du Muséum National d’Histoire Naturelle, Série 2', 1], ['Novitates Zoologicae', 1], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 2], ['Revue de Zoologie et de Botanique Africaines', 4], ['Zoological Journal of the Linnean Society', 2], ['Zootaxa', 17] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=36)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);