function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of the American Museum of Natural History', 3], ['Bulletin of the United States Bureau of Fisheries', 2], ['Bulletin of the United States Fish Commission', 4], ['Bulletin of the United States National Museum', 7], ['Copeia', 2], ['Journal of the Academy of Natural Sciences of Philadelphia', 12], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 15], ['Proceedings of the American Philosophical Society', 14], ['Proceedings of the United States National Museum, 3', 3], ['The American Journal of Science and Arts, Series 2', 11], ['The American Naturalist', 4], ['U. S. Geolological Survey Wyoming & Contiguous Territories', 4], ['United States Geological Survey West 100. Meridian v. 5, Zool.', 3], ['Zoological Journal of the Linnean Society', 3], ['Zootaxa', 3], ['Other (17)', 21] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=111)', 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);