function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 6], ['Aspects of Nonmarine Cretaceous Geology', 11], ['Bulletin of the American Museum of Natural History', 26], ['Cretaceous Research', 7], ['Evolutionary Biology', 6], ['Journal of Vertebrate Paleontology', 18], ['Mesozoic Vertebrate Life', 11], ['National Museum of Natural Sciences, Publications in Palaeontology, No. 1', 11], ['Palaeontologica Polonica', 8], ['Predatory Dinosaurs of the World', 21], ['Science', 6], ['Scientific Reports', 6], ['Special papers in palaeontology', 7], ['The Dinosauria', 26], ['Tyrannosaurus rex, the tyrant king', 9], ['Other (44)', 89] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=268)', 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);