function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 1], ['Annales du Muséum d\'Histoire Naturelle, Paris', 1], ['Asiatic Researches', 11], ['Ballière', 1], ['Biodiversity Data Journal', 27], ['British Museum', 1], ['C. A. B. International', 1], ['Insect Systematics and Diversity', 1], ['Journal and Proceedings of the Asiatic Society of Bengal', 1], ['Journal of Hymenoptera Research', 22], ['Journal of Natural History', 4], ['Linzer biologische Beiträge', 6], ['Madras Journal of Literature and Science', 4], ['Transactions of the Entomological Society of London', 2], ['Zootaxa', 16], ['Other (1)', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=100)', 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);