function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 1], ['Bulletin of the American Museum of Natural History', 1], ['European Journal of Taxonomy', 6], ['Memoirs of the Museum of Comparative Zoology, at Harvard College', 1], ['PalArch\'s Journal of Paleontology', 1], ['Schmerber', 1], ['Voorst', 1], ['Zoological Journal of the Linnean Society', 1], ['Zoosystematics and Evolution', 1], ['Zootaxa', 13] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=27)', 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);