function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Aspects of Nonmarine Cretaceous Geology', 1], ['Cretaceous Research', 1], ['Fourth Symposium on Mesozoic Terrestrial Ecosystems', 1], ['Journal of Vertebrate Paleontology', 2], ['Mesozoic Vertebrate Life', 1], ['National Museum of Natural Sciences, Publications in Palaeontology, No. 1', 2], ['New Mexico Museum of Natural History and Science Bulletin', 1], ['Palaeontologica Polonica', 1], ['PeerJ', 1], ['Scientific Reports', 2], ['The Dinosauria', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=16)', 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);