function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Parasitologica Polonica', 1], ['Biodiversity Data Journal', 2], ['Egyptian Journal of Aquatic Biology and Fisheries', 1], ['Fauna Arctica', 3], ['Fischerei - Forschung, Rostock', 1], ['Japanese Journal of Zoology', 1], ['Papers from the Tortugas Laboratory of the Carnegie Institute of Washington', 1], ['Parazitologiya', 1], ['Proceedings of the Helminthological Society of Washington', 1], ['Proceedings of the Zoological Society of London, B', 1], ['Satyû Yamaguti', 1], ['Systematic Parasitology', 1], ['Zoologische Jahrbucher, Abteilung für Systematik', 1], ['Zoologischer Anzeiger', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=17)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);