function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Zoológica Lilloana', 8], ['Biodiversity Data Journal', 6], ['Bulletin of the British Ornithologists’ Club', 7], ['Bulletin of the Florida Museum of Natural History', 1], ['Check List', 12], ['Deterville', 1], ['Laurentius Salvius', 11], ['Nouveau dictionnaire d\'histoire naturelle [ed. 2]', 2], ['Papéis Avulsos de Zoologia', 2], ['Treuttel', 2], ['Utrecht', 2], ['Zoological Journal of the Linnean Society', 3], ['Zoosystema', 14], ['Zoosystematics and Evolution', 2], ['Zootaxa', 12], ['Other (14)', 14] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=99)', 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);