function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Journal of Science', 3], ['Bulletin of the American Museum of Natural History', 3], ['Canadian Journal of Earth Sciences', 1], ['Contributions to Geology, University of Wyoming', 1], ['Geological Survey of Canada Contributions to Canadian Palaeontology', 4], ['Journal of Paleontology', 2], ['Journal of Vertebrate Paleontology', 1], ['Megataxa', 2], ['Nature', 1], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 5], ['Rocky Mountain Geology', 5], ['The American Journal of Science, Series 3', 2], ['The American Naturalist', 3], ['Zoological Journal of the Linnean Society', 1], ['Zootaxa', 3], ['Other (1)', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=38)', 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);