function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 22], ['Annals and magazine of natural history, 13', 1], ['Annals of the Entomological Society of America', 4], ['Bulletin du Muséum National d’Histoire Naturelle, [Série 1]', 1], ['Bulletin of the American Museum of Natural History', 2], ['Bulletin of the Association for Mexican Cave Studies', 4], ['Cambridge University Press', 1], ['Carnegie Institution of Washington Publication', 2], ['Ciencia, Mexico City', 2], ['Clarendon Press', 1], ['Journal of Arachnology', 4], ['Journal of Zoology, London', 2], ['Journal of the New York Entomological Society', 2], ['Poeyana, A', 2], ['Zootaxa', 23], ['Other (6)', 6] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=79)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);