function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 4], ['Catalogue of the Birds in the British Museum', 2], ['Check List', 13], ['F. Abate', 1], ['G. Levrault', 3], ['In Commission bei T. Trautwein', 1], ['Isis von Oken', 1], ['Kongl. Vetenskaps Academiens Nya Handlingar', 1], ['Laurentius Salvius', 16], ['Nouveau dictionnaire d\'histoire naturelle [ed. 2]', 1], ['Papéis Avulsos de Zoologia', 5], ['R. and J. E. Taylor', 1], ['Transactions of the Linnean Society of London', 1], ['Zoosystema', 8], ['Zootaxa', 10], ['Other (1)', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=69)', 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);