function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 481], ['Birkhaeuser Verlag', 36], ['Bulletin of the American Museum of Natural History', 16], ['European Journal of Taxonomy', 133], ['Geodiversitas', 254], ['Journal of Natural History', 341], ['Laurentius Salvius', 59], ['Palaeontologia Electronica', 37], ['Raffles Bulletin of Zoology', 14], ['Species Diversity', 31], ['ZooKeys', 23], ['Zoological Journal of the Linnean Society', 37], ['Zoological Science', 23], ['Zoosystema', 32], ['Zootaxa', 1235], ['Other (25)', 82] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=2834)', 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);