function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 64], ['Ballière', 6], ['Biodiversity Data Journal', 552], ['Entomologist\'s monthly magazine', 34], ['European Journal of Taxonomy', 90], ['Halteres', 6], ['Insecta Mundi', 11], ['International journal of environmental studies', 31], ['Journal of Hymenoptera Research', 198], ['Journal of Natural History', 140], ['Latvijas Entomologs', 74], ['Linzer biologische Beiträge', 30], ['ZooKeys', 85], ['Zoological Systematics', 6], ['Zootaxa', 94], ['Other (15)', 29] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=1450)', 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);