function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Biológico Colombiana', 1], ['Annals of the Carnegie Museum', 1], ['Biodiversity Data Journal', 2], ['Bol. Soc. Nac. Agric., Rio de Janeiro [Lavoura]', 1], ['Bulletin of Aquatic Biology', 1], ['Check List', 6], ['Copeia', 1], ['Memoirs of the Carnegie Museum', 8], ['Neotropical Ichthyology', 4], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 9], ['Rev. Mus. Paulista', 2], ['University of Kentucky', 2], ['Zoologische Mededelingen, Leiden', 2], ['Zoosystema', 2], ['Zootaxa', 6], ['Other (8)', 8] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=56)', 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);