function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 5], ['Bulletin of the American Museum of Natural History', 9], ['Canadian Journal of Earth Sciences', 1], ['Fossil Record', 14], ['Geodiversitas', 9], ['Journal of Systematic Palaeontology', 2], ['Journal of Vertebrate Paleontology', 3], ['Mesozoic and Cenozoic Red Beds of South China: Selected Papers from the " Cretaceous-Tertiary Workshop ", Institute of Vertebrat', 1], ['Nature Ecology & Evolution', 1], ['Palaeontologica Sinica, Series C', 1], ['PeerJ', 3], ['University of Toronto Studies, Geological Series', 2], ['ZooKeys', 8], ['Zoological Journal of the Linnean Society', 95], ['Zootaxa', 24], ['Other (3)', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=181)', 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);