function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 2], ['Biol. Results " Endeavour "', 1], ['Bulletin from the Laboratories of Natural History of the State University of Iowa', 1], ['Bulletin of Marine Science', 1], ['Copeia', 1], ['Cybium', 1], ['European Journal of Taxonomy', 4], ['Memoirs of the Indian Museum', 1], ['Notulae Naturae', 1], ['Proceedings of the Zoological Society of London, B', 1], ['Raffles Bulletin of Zoology', 7], ['Zootaxa', 31] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=52)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);