function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Arachnologica', 5], ['African Invertebrates', 2], ['Biodiversity Data Journal', 1], ['Journal of Natural History', 10], ['Journal of Threatened Taxa', 1], ['Rep. Swed. Deep-Sea Exped. 1947 - 48', 1], ['Revue suisse de Zoologie', 7], ['Special Bulletin of the United States National Museum', 1], ['Transactions of the Royal Society of Edinburgh', 2], ['ZooKeys', 22], ['Zoodiversity', 1], ['Zoological Systematics', 14], ['Zoologischer Anzeiger', 1], ['Zootaxa', 9] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=77)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);