function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bulletin of the American Museum of Natural History', 1], ['Bulletin of the Bingham Oceanographic Collection Yale University', 1], ['Copeia', 1], ['Israel Journal of Zoology', 1], ['Journal of Marine Research', 1], ['Journal of Systematic Palaeontology', 4], ['Memoirs of the Museum of Comparative Zoology, at Harvard College', 1], ['Proceedings of the California Academy of Sciences, Series 2', 1], ['Proceedings of the California Academy of Sciences, Series 4', 1], ['Proceedings of the United States National Museum, 3', 2], ['Proceedings of the Zoological Society of London, B', 1], ['Records of the Western Australian Museum', 1], ['Revue et Magasin de Zoologie, Série 2', 1], ['Zoologicheskii Zhurnal', 2], ['Zootaxa', 20] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=39)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);