function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annals and Magazine of Natural History, Including Zoology, Botany and Geology, Being a Continuation of the \' Magazine of Botany ', 1], ['Bulletin -- United States National Museum', 1], ['Bulletin du Muséum National d’Histoire Naturelle, [Série 1]', 3], ['Bulletin of the United States Bureau of Fisheries', 2], ['Memoirs of the Asiatic Society of Bengal', 2], ['Proceedings of the United States National Museum', 2], ['Ray Society', 1], ['Reports of Science Research Voyage of H. M. S. Challenger. Zoology', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=13)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 8, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);