function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 180], ['European Journal of Taxonomy', 653], ['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', 711], ['Species Diversity', 161], ['ZooKeys', 959], ['Zoological Journal of the Linnean Society', 637], ['Zoosystema', 1285], ['Zoosystematics and Evolution', 163], ['Zootaxa', 15820], ['Other (295)', 1879] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=25955)', 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);