function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['British Museum (Natural History)', 4], ['Bulletin du Muséum National d’Histoire Naturelle, Série 4, Section A, Zoologie, Biologie et Écologie d’Animal', 1], ['Bulletin of the British Museum (Natural History), Geology Series', 3], ['Bulletins of American Paleontology', 1], ['Journal of Paleontology', 1], ['Memoirs of the College of Science, Kyoto Imperial University, B', 1], ['South Carolina Geology', 1], ['Zoosystema', 1], ['Zootaxa', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=15)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 9, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);