function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 362], ['Birkhaeuser Verlag', 36], ['Bulletin of the American Museum of Natural History', 10], ['European Journal of Taxonomy', 128], ['Geodiversitas', 45], ['Journal of Natural History', 313], ['Linzer biologische Beiträge', 9], ['Public Library of Science, ONE', 11], ['Raffles Bulletin of Zoology', 11], ['Species Diversity', 18], ['ZooKeys', 13], ['Zoological Journal of the Linnean Society', 37], ['Zoological Science', 23], ['Zoosystema', 29], ['Zootaxa', 1004], ['Other (18)', 44] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=2093)', 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);