function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 44], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 1], ['Biodiversity Data Journal', 4], ['Entomological Review', 9], ['Entomologische Berichten', 5], ['Entomologist\'s monthly magazine', 3], ['Insects of Guam II', 3], ['Linzer biologische Beiträge', 10], ['Pacific insects', 4], ['Proceedings of the Hawaiian Entomological Society', 2], ['Raffles Bulletin of Zoology', 13], ['ZooKeys', 2], ['Zoosystema', 9], ['Zootaxa', 140], ['Öfversigt af Finska Vetenskaps-Societetens Förhandlingar', 5], ['Other (2)', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=256)', 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);