function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of the United States National Museum', 1], ['Bulletin of the Washburn Laboratory of Natural History', 1], ['Journal of the Academy of Natural Sciences of Philadelphia, Second Series', 1], ['Occasional Papers of the Museum of Zoology, University of Michigan', 1], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 1], ['Proceedings of the American Philosophical Society', 2], ['Proceedings of the United States National Museum, 3', 1], ['The American Journal of Science and Arts, Series 2', 2], ['Transactions of the American Philosophical Society', 1], ['U. S. Geolological Survey Wyoming & Contiguous Territories', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=13)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);