function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Universitatis Lundensis', 8], ['Biodiversity Data Journal', 2], ['C. Fritsch', 1], ['Journal of Parasitology', 1], ['Kongelige Danske Videnskabernes Selskabs Skrifter', 1], ['Laurentius Salvius', 3], ['Memoirs of the Wernerian Natural History Society', 1], ['Proceedings of the Helminthological Society of Washington', 1], ['The Biological Bulletin', 1], ['Transactions of the American Microscopical Society', 1], ['Vestnik Zoologii', 1], ['Zoodiversity', 2], ['Zootaxa', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=26)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);