function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 1], ['Anales de la Universidad de Chile, Memorias Cientificas y Literarias', 1], ['Bulletin of the United States National Museum', 1], ['Copeia', 2], ['European Journal of Taxonomy', 3], ['International Journal of Research Studies in Zoology', 1], ['Journal of Natural History', 1], ['New Zealand Journal of Science and Technology', 1], ['Proceedings of the American Philosophical Society', 1], ['Proceedings of the California Academy of Sciences, Series 1', 1], ['Proceedings of the United States National Museum, 3', 1], ['Revue des Travaux de l\'Institut des Peches Maritimes', 1], ['Salviucci', 1], ['Veit', 1], ['Zootaxa', 18], ['Other (1)', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=36)', 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);