function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 147], ['Annali del Museo Civico di Storia Naturale di Genova', 25], ['Biodiversity Data Journal', 3], ['Bulletin de la Société Impériale des Naturalistes de Moscou', 2], ['Caucasian Entomological Bulletin', 3], ['Check List', 206], ['Entomon', 3], ['Insecta Mundi', 52], ['Japanese Journal of Systematic Entomology', 4], ['Journal of Natural History', 14], ['Mémoires du Muséum national d\'Histoire naturelle', 47], ['The Coleopterists Bulletin', 17], ['ZooKeys', 46], ['Zoological Systematics', 36], ['Zootaxa', 164], ['Other (15)', 20] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=789)', 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);