function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of the Museum of Comparative Zoology at Harvard College', 1], ['Bulletin of the United States Bureau of Fisheries', 2], ['Doklady Akademiia Nauk SSSR', 2], ['Förh. Skand. Naturf.', 1], ['Naturhistorisk Tidsskrift, Series 3', 1], ['Proceedings of the United States National Museum, 3', 2], ['Report of the United States Commissioner of Fish and Fisheries', 1], ['Russ. Gidrob. Zh., Saraton', 1], ['Species Diversity', 1], ['Zootaxa', 6] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=18)', 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);