function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Ichthyologica et Piscatoria', 1], ['Anzeiger', 1], ['Archiv für Naturgeschichte', 1], ['Biologia Gallo-Hellenica', 1], ['Boston Journal of Natural History', 3], ['Cybium', 4], ['Eawag: Swiss Federal Institute of Aquatic Science and Technology', 2], ['European Journal of Taxonomy', 3], ['Laurentii Salvii', 5], ['Laurentius Salvius', 11], ['Nouvelles Archives du Muséum d\'Histoire Naturelle, Paris, Série 2', 5], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 4], ['Proceedings of the United States National Museum, 3', 3], ['Turkish Journal of Zoology', 2], ['Zootaxa', 26], ['Other (9)', 9] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=81)', 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);