function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 1], ['Aspects of Nonmarine Cretaceous Geology', 4], ['Bulletin of the American Museum of Natural History', 1], ['Gaia', 1], ['Journal of Paleontology', 1], ['Journal of Vertebrate Paleontology', 4], ['Mesozoic Vertebrate Life', 1], ['National Museum of Natural Sciences, Publications in Palaeontology, No. 1', 4], ['Palaeontologica Polonica', 1], ['Predatory Dinosaurs of the World', 8], ['The Dinosauria', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=28)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);