function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annals of the Carnegie Museum', 1], ['Barranquilla, Departamento del Atlántico', 4], ['Check List', 3], ['Copeia', 1], ['Ind. Univ. Studies', 5], ['Memoirs of the Carnegie Museum', 1], ['Notulae Naturae', 1], ['Peces del Departamento de Santander - Colombia', 2], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 4], ['Proceedings of the American Philosophical Society', 1], ['Proceedings of the Biological Society of Washington', 1], ['Proceedings of the California Academy of Sciences, Series 4', 2], ['Publications of the Field Museum of Natural History, Zoölogical', 1], ['Revista de la Asociación Colombiana de Ciencias Biológicas', 5], ['Zootaxa', 6], ['Other (2)', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=40)', 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);