function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biol. Results " Endeavour "', 1], ['Bulletin from the Laboratories of Natural History of the State University of Iowa', 1], ['Copeia', 1], ['Cybium', 1], ['European Journal of Taxonomy', 2], ['Memoirs of the Indian Museum', 1], ['Notulae Naturae', 1], ['Proceedings of the Zoological Society of London, B', 1], ['Raffles Bulletin of Zoology', 6], ['Zootaxa', 25] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=40)', 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);