function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 23], ['Annals of the Entomological Society of America', 4], ['Bulletin of the American Museum of Natural History', 22], ['Bulletin of the Association for Mexican Cave Studies', 4], ['Bulletin of the British Arachnological Society', 2], ['Carnegie Institution of Washington Publication', 2], ['Ciencia, Mexico City', 2], ['European Journal of Taxonomy', 2], ['Journal of Arachnology', 8], ['Journal of Zoology, London', 2], ['Journal of the New York Entomological Society', 2], ['Palaeoentomology', 3], ['Revista Ibérica de Aracnología', 6], ['Zoological Systematics', 5], ['Zootaxa', 31], ['Other (20)', 22] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=140)', 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);