function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 822], ['Bulletin of the American Museum of Natural History', 1932], ['Check List', 505], ['G. Levrault', 68], ['Laurentius Salvius', 631], ['Nouveau dictionnaire d\'histoire naturelle [ed. 2]', 73], ['Papéis Avulsos de Zoologia', 235], ['PhytoKeys', 61], ['Raffles Bulletin of Zoology', 57], ['Records of the Australian Museum', 83], ['Transactions of the Linnean Society of London', 60], ['Zoological Journal of the Linnean Society', 147], ['Zoosystema', 640], ['Zoosystematics and Evolution', 53], ['Zootaxa', 1274], ['Other (197)', 930] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=7571)', 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);