function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin du Muséum National d’Histoire Naturelle, Série 2', 1], ['Bulletin of the American Museum of Natural History', 1], ['Bulletin of the Bingham Oceanographic Collection Yale University', 1], ['Carnegie Institution of Washington Publication', 1], ['Journal of Natural History', 3], ['Journal of the Ocean Science Foundation', 1], ['Monographs of the Academy of Natural Sciences of Philadelphia', 2], ['Notulae Naturae', 1], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 1], ['Proceedings of the Linnean Society of New South Wales', 1], ['Proceedings of the United States National Museum, 3', 5], ['Sitzungsberichte der Kaiserlichen Akademie der Wissenschaften, Mathematisch-Naturwissenschaften Classe', 1], ['Stanford Ichthyological Bulletin', 1], ['Voorst', 1], ['Zootaxa', 6], ['Other (1)', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=28)', 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);