function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Anzeiger', 4], ['Biociências, Porto Alegre', 1], ['Bulletin of the United States Bureau of Fisheries', 1], ['Ichthyological Exploration of Freshwaters', 1], ['Iheringia Serie Zoologia, Serie Zoologia', 1], ['Memoirs of the Carnegie Museum', 3], ['Physis', 1], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 5], ['Proceedings of the American Philosophical Society', 3], ['Proceedings of the Zoological Society of London, B', 1], ['Publications of the Field Museum of Natural History, Zoölogical', 1], ['Revista de Biologia Tropical', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=23)', 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);