function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Parasitologica', 1], ['Acta Zootaxonomica Sinica', 1], ['Bulletin du Muséum National d’Histoire Naturelle, Série 4, Section A, Zoologie, Biologie et Écologie d’Animal', 1], ['Bulletin of the National Science Museum, Series A, Zoology', 2], ['Canadian Journal of Zoology', 1], ['Japanese Journal of Zoology', 2], ['Journal of Parasitology', 1], ['Journal of the Biological Board of Canada', 1], ['Journal of the Royal Society of New Zealand', 1], ['Keigaku Publishing Company', 4], ['Papers from the Tortugas Laboratory of the Carnegie Institute of Washington', 1], ['Parasitology International', 2], ['Publications of the Seto Marine Biological Laboratory', 1], ['Rivista di Parassitologia', 1], ['Transactions of the Biogeographical Society of Japan', 2], ['Other (3)', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=25)', 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);