function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Zoológica Lilloana', 4], ['Biodiversity Data Journal', 4], ['Bulletin des Sciences Naturelles et de Géologie', 1], ['Bulletin of the British Ornithologists’ Club', 6], ['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], ['Transactions of the Linnean Society of London', 2], ['Utrecht', 2], ['Zoosystema', 8], ['Zoosystematics and Evolution', 2], ['Zootaxa', 3], ['Other (4)', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=76)', 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);