function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 5], ['Bolletino della Società Adriatica di Scienze Naturali in Trieste', 10], ['Japanese Journal of Zoology', 4], ['Journal of the Royal Society of New South Wales', 3], ['Parasitology', 1], ['Proceedings of the United States National Museum, 3', 1], ['Quarterly journal of microscopical science, n. s.', 2], ['Zoodiversity', 1], ['Zoologica scripta', 1], ['Zoologische Jahrbücher, Abteilung für Systematik, Geographie und Biologie der Thiere', 6], ['Zoopathologica', 1], ['Zootaxa', 160] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=195)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);