function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 8], ['E. W. Janson', 20], ['Entomologist\'s monthly magazine', 10], ['Fragmenta entomologica', 1], ['Journal of Hymenoptera Research', 1], ['Linzer biologische Beiträge', 224], ['Proceedings of the Hawaiian Entomological Society', 6], ['Proceedings of the Literary and Philosophical Society of Manchester', 8], ['Proceedings of the Manchester Literary and Philosophical Society', 2], ['The Journal of the Linnean Society of London, Zoology', 1], ['Transactions of the Entomological Society of London', 9], ['Voyage de la corvette l\'Astrolabe: exécuté par ordre du roi, pendant les années 1826 - 1827 - 1828 - 1829', 1], ['Wien Ent Ztg', 2], ['Wiener entomologische Zeitung', 1], ['Zootaxa', 34] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=328)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);