function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Amphibian & Reptile Conservation', 161], ['Bulletin of the American Museum of Natural History', 136], ['Check List', 184], ['European Journal of Taxonomy', 70], ['Journal of Natural History', 67], ['Megataxa', 47], ['Papéis Avulsos de Zoologia', 41], ['Proceedings of the California Academy of Sciences', 72], ['Raffles Bulletin of Zoology', 44], ['Vertebrate Zoology', 76], ['ZooKeys', 316], ['Zoological Journal of the Linnean Society', 166], ['Zoosystema', 99], ['Zoosystematics and Evolution', 228], ['Zootaxa', 2007], ['Other (80)', 527] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=4241)', 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);