function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acarologia', 1681], ['Acarological Studies', 99], ['Biodiversity Data Journal', 115], ['Ecologica Montenegrina', 237], ['European Journal of Taxonomy', 39], ['Journal of Natural History', 167], ['Linzer biologische Beiträge', 35], ['Persian Journal of Acarology', 614], ['Records of the Western Australian Museum', 17], ['Species Diversity', 16], ['ZooKeys', 320], ['Zoological Journal of the Linnean Society', 115], ['Zoological Systematics', 44], ['Zoosystema', 51], ['Zootaxa', 5579], ['Other (52)', 153] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=9282)', 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);