function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 7], ['Arthropoda Selecta', 26], ['Biodiversity Data Journal', 168], ['Bulletin of the American Museum of Natural History', 47], ['Caucasian Entomological Bulletin', 51], ['European Journal of Taxonomy', 32], ['Evolutionary Systematics', 17], ['Far Eastern Entomologist', 9], ['Journal of Natural History', 20], ['Revue suisse de Zoologie', 34], ['State Fauna Series 4 Fauna of Meghalaya Part 2', 9], ['ZooKeys', 179], ['Zoodiversity', 16], ['Zoosystema', 103], ['Zootaxa', 482], ['Other (19)', 51] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=1251)', 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);