function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 542], ['American Museum Novitates', 174], ['Biodiversity Data Journal', 99], ['Bishop Museum Bulletin in Entomology', 49], ['Bulletin of the American Museum of Natural History', 721], ['European Journal of Taxonomy', 45], ['Fragmenta Faunistica', 49], ['Insects of Guam II', 34], ['Linzer biologische Beiträge', 101], ['New Zealand journal of zoology', 84], ['Raffles Bulletin of Zoology', 37], ['ZooKeys', 196], ['Zoological Journal of the Linnean Society', 72], ['Zoosystema', 92], ['Zootaxa', 2278], ['Other (55)', 299] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=4872)', 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);