function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['A. Constable', 1], ['Acta Ichthyologica et Piscatoria', 1], ['Acta Zoologica Academiae Scientiarum Hungaricae', 1], ['Annales du Musee Royale de l\'Afrique Centrale, Zoologie, Serie 8', 4], ['Biodiversity Data Journal', 3], ['Bulletin de la Société Philomathique de Paris, Série 7', 2], ['Calcutta Journal of Natural History, and Miscellany of the Arts and Sciences in India', 2], ['Japanese Journal of Ichthyology', 2], ['Journal of Natural History', 2], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 4], ['Proceedings of the Zoological Society of London, B', 3], ['Raffles Bulletin of Zoology', 4], ['Revue Zoologique Africaine', 2], ['Transactions of the Zoological Society of London', 2], ['Zootaxa', 27], ['Other (22)', 22] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=82)', 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);