function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 4], ['Annales du Musée du Congo Belge, Série 1, Zoologiques', 3], ['Annali del Museo Civico di Storia Naturale di Genova', 1], ['Biodiversity Data Journal', 2], ['Bonner zoologische Beiträge', 1], ['Bulletin of the American Museum of Natural History', 2], ['Journal of Natural History', 5], ['Journal of Threatened Taxa', 2], ['Natuurkunde Tijdschrift voor Nederlandsche-Indië', 2], ['Notes from the Leyden Museum', 4], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 6], ['Proceedings of the Zoological Society of London, B', 5], ['Raffles Bulletin of Zoology', 6], ['Zoological Journal of the Linnean Society', 2], ['Zootaxa', 25], ['Other (20)', 20] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=90)', 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);