function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Journal of Vertebrate Paleontology', 1], ['Mesozoic and Cenozoic Red Beds of South China: Selected Papers from the " Cretaceous-Tertiary Workshop ", Institute of Vertebrat', 1], ['National Museum of Natural Sciences, Publications in Palaeontology, No. 1', 1], ['Palaeontologica Polonica', 1], ['Special papers in palaeontology', 1], ['The Dinosauria', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=9)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 6, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);