function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 1], ['Annals of the Carnegie Museum', 2], ['Anzeiger', 1], ['Arquivos de Zoologia, São Paulo', 1], ['Bulletin de la Société Philomathique de Paris, Série 7', 1], ['Bulletin du Muséum National d’Histoire Naturelle, Série 2', 1], ['Check List', 5], ['Copeia', 5], ['Denkschriften der Kaiserlichen Akademie der Wissenschaften, Wien', 1], ['Journal of the Washington Academy of Sciences', 2], ['Neotropical Ichthyology', 13], ['Pap. Avulsos Dep. Zool., São Paulo', 1], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 2], ['Revista Brasileira de Biologia', 3], ['Zootaxa', 7], ['Other (4)', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=50)', 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);