function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 3], ['Henry G. Bohn', 1], ['Journal of Natural History', 1], ['Palaeontologia Electronica', 1], ['Quarterly Journal of the Geological Society, London', 2], ['Records of the Australian Museum', 13], ['Transactions of the geological society of London, 2', 1], ['U. S. Geological Survey, Professional Paper', 1], ['ZooKeys', 1], ['Zoological Journal of the Linnean Society', 11], ['Zootaxa', 51] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=86)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);