function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 4], ['Annales du Musee Royale de l\'Afrique Centrale, Zoologie, Serie 8', 7], ['Annales du Musée du Congo Belge, Série 1, Zoologiques', 17], ['Aqua, Journal of Ichthyology and Aquatic Biology', 4], ['Bulletin de la Société Zoologique de France', 5], ['Bulletin du Muséum National d’Histoire Naturelle, Série 2', 4], ['Journal of Natural History', 2], ['Monatsberichte der Akademie der Wissenschaft zu Berlin', 4], ['Mémoires du Muséum National d’Histoire Naturelle, Série A, Zoologie', 4], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 5], ['Proceedings of the Zoological Society of London, B', 3], ['Revue Zoologique Africaine', 4], ['Revue de Zoologie et de Botanique Africaines', 5], ['Zoological Journal of the Linnean Society', 6], ['Zootaxa', 41], ['Other (16)', 17] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=132)', 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);