function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Societatis Regiae Scientiarum Indo-Neêrlandicae', 1], ['Annales de la Société Impériale d\'Agriculture, Histoire Naturelle de Lyon', 1], ['Anzeiger', 1], ['Biodiversity Data Journal', 1], ['Bulletin of the United States Fish Commission', 1], ['Ichthyological Bulletin of the J. L. B. Smith Institute of Ichthyology', 1], ['Journal and Proceedings of the Asiatic Society of Bengal', 1], ['Marine Investigations in South Africa', 1], ['Natuurkunde Tijdschrift voor Nederlandsche-Indië', 1], ['Proceedings of the Zoological Society of London, B', 1], ['Report of the Fisheries and Marine Biological Survey, Union of South Africa', 1], ['Species Diversity', 2], ['Zootaxa', 7] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=20)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);