function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Palaeontologica Polonica', 2], ['American Museum Novitates', 13], ['Annalen des kaiserlich-königlichen naturhistorischen Hofmuseums', 6], ['Annals of the South African Museum [Annale van die Suid-Afrikaanse Museum]', 1], ['Annals of the Transvaal Museum', 3], ['Bulletin of the American Museum of Natural History', 1], ['European Journal of Taxonomy', 8], ['GFF', 1], ['Geobios', 4], ['Geodiversitas', 54], ['Geological Magazine', 1], ['Journal of Paleontology', 1], ['Memoires de la Societe geologique de France, 2', 2], ['Rivista Italiana di Paleontologia E Stratigrafia', 2], ['Transactions of the geological society of London, 2', 7], ['Other (1)', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=107)', 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);