function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annales du Muséum d\'Histoire Naturelle, Paris', 1], ['Biodiversity Data Journal', 2], ['Bulletin of the American Museum of Natural History', 122], ['Bulletin of the Florida State Museum, Biological Sciences', 1], ['Catalogue of the Birds in the British Museum', 1], ['Check List', 4], ['Deterville', 1], ['G. Levrault', 2], ['Gabriel Nicolaus Raspe', 1], ['Garnery', 1], ['Laurentius Salvius', 15], ['The Philosophical Magazine', 6], ['Utrecht', 3], ['Zoosystema', 7], ['Zootaxa', 32], ['Other (4)', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=203)', 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);