function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 1], ['Anales de la Escuela Nacional de Ciencias Biologicas', 1], ['Biodiversity Data Journal', 2], ['Bulletin of the Alabama Museum of Natural History', 2], ['Bulletin of the Illinois State Laboratory of Natural History', 3], ['Bulletin of the United States Fish Commission', 7], ['Copeia', 10], ['Field Columbian Museum Zoological Series', 3], ['Occasional Papers of the Museum of Zoology, University of Michigan', 2], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 4], ['Proceedings of the United States National Museum, 3', 8], ['Pub. Univ. Oklahoma Biol. Surv.', 3], ['Report of the United States Commissioner of Fish and Fisheries', 2], ['Texas Journal of Science', 3], ['The American Naturalist', 6], ['Other (9)', 9] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=66)', 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);