function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Journal of Science', 1], ['American Museum Novitates', 1], ['Bulletin of the American Museum of Natural History', 2], ['Contributions to Geology, University of Wyoming', 1], ['Fossil Record', 15], ['Journal of Vertebrate Paleontology', 1], ['Mesozoic and Cenozoic Red Beds of South China: Selected Papers from the " Cretaceous-Tertiary Workshop ", Institute of Vertebrat', 1], ['Palaeontologica Sinica, Series C', 1], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 4], ['Proceedings of the Royal Society, Series B', 1], ['Rocky Mountain Geology', 3], ['The Ottawa Naturalist', 1], ['Transactions of the American Philosophical Society', 2], ['Zoological Journal of the Linnean Society', 15], ['Zootaxa', 7] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=56)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);