function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Palaeontologica Polonica', 10], ['American Museum Novitates', 32], ['Bulletin of the American Museum of Natural History', 27], ['European Journal of Taxonomy', 510], ['Fossil Imprint', 33], ['Fossil Record', 15], ['Geodiversitas', 199], ['Journal of Natural History', 20], ['Journal of the Academy of Natural Sciences of Philadelphia', 9], ['Laurentius Salvius', 27], ['NIWA', 16], ['Revue de Paléobiologie', 39], ['Zitteliana', 11], ['Zoological Journal of the Linnean Society', 33], ['Zootaxa', 43], ['Other (67)', 156] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=1180)', 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);