function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Zootaxonomica Sinica', 1], ['American Museum Novitates', 1], ['Annales du Musée du Congo Belge, Série 1, Zoologiques', 1], ['Anzeiger', 1], ['Bulletin de la Société Philomathique de Paris, Série 7', 2], ['Bulletin du Muséum National d’Histoire Naturelle, Série 2', 1], ['Copeia', 2], ['Jornal de Sciencias Mathematicas, Physicas e Naturaes', 1], ['Journal of Natural History', 2], ['Madras Journal of Literature and Science', 1], ['Mémoires du Muséum national d\'Histoire naturelle', 1], ['Odonatologica', 2], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 2], ['Proceedings of the Zoological Society of London, B', 3], ['Zootaxa', 12], ['Other (3)', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=36)', 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);