function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 189], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 4], ['Biodiversity Data Journal', 20], ['Entomologist\'s monthly magazine', 3], ['Insecta Mundi', 4], ['Insects of Guam II', 7], ['Journal of Natural History', 16], ['Linzer biologische Beiträge', 74], ['Proceedings of the Biological Society of Washington', 18], ['Proceedings of the Hawaiian Entomological Society', 4], ['Species Diversity', 4], ['ZooKeys', 7], ['Zoosystema', 8], ['Zootaxa', 199], ['Öfversigt af Konglelige Vetenskaps-Akademiens Förhandlingar', 4], ['Other (14)', 22] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=583)', 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);