function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 183], ['European Journal of Taxonomy', 655], ['Geodiversitas', 282], ['Journal of Natural History', 1834], ['Memoirs of Museum Victoria', 112], ['Mémoires du Muséum national d\'Histoire naturelle', 164], ['Nauplius', 112], ['Raffles Bulletin of Zoology', 1003], ['Records of the Australian Museum', 717], ['Species Diversity', 161], ['ZooKeys', 969], ['Zoological Journal of the Linnean Society', 640], ['Zoosystema', 1285], ['Zoosystematics and Evolution', 167], ['Zootaxa', 15898], ['Other (296)', 1892] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=26074)', 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);