function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['African Invertebrates', 10], ['Biodiversity Data Journal', 9], ['Bulletin of the Museum of Comparative Zoology at Harvard College', 1], ['Bulletin of the National Science Museum, Series A (Zoology)', 1], ['European Journal of Taxonomy', 6], ['Fauna norvegica', 2], ['Iberus: Revista de la Sociedad Española de Malacología', 2], ['Journal of Natural History', 46], ['Memoirs of the Australian Museum', 1], ['Proceedings of the Zoological Society of London', 2], ['Trustees of the British Museum', 1], ['Visaya', 11], ['Zoological Journal of the Linnean Society', 24], ['Zoosystema', 25], ['Zootaxa', 64] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=205)', 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);