function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 1], ['European Journal of Taxonomy', 1], ['Geodiversitas', 7], ['Journal of Natural History', 3], ['Malacologia', 2], ['Memoires de la Societe geologique de France, 2', 2], ['Quarterly Journal of the Geological Society, London', 1], ['Records of the Zoological Survey of India', 1], ['Zoological Journal of the Linnean Society', 2], ['Zootaxa', 80] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=100)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);