function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of the United States Fish Commission', 1], ['Bulletin of the Vanderbilt Marine Museum', 1], ['Memoires de la Sociedad de Ciencias Naturales La Salle', 1], ['Proceedings of the California Academy of Sciences, Series 1', 1], ['Proceedings of the United States National Museum, 3', 1], ['Revista Sociedad Mexicana de Historia Natural', 1], ['Revista de Biologia Tropical', 1], ['Zootaxa', 10] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=17)', 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);