function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 4], ['Bulletin des Sciences Naturelles et de Géologie', 1], ['Check List', 8], ['G. E. Beer', 21], ['Gottl. August. Lange', 1], ['Laurentius Salvius', 8], ['Mémoires de la Société d’Histoire Naturelle de Paris', 1], ['Nouveau dictionnaire d\'histoire naturelle [ed. 2]', 1], ['Proceedings of the Zoological Society of London', 1], ['Raffles Bulletin of Zoology', 1], ['Transactions of the Linnean Society of London', 2], ['Utrecht', 2], ['Zoosystema', 8], ['Zoosystematics and Evolution', 2], ['Zootaxa', 3], ['Other (2)', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=66)', 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);