function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['American Museum Novitates', 8], ['Anartia', 7], ['Biodiversity Data Journal', 7], ['Bulletin of the National Science Museum, Series A (Zoology)', 7], ['Japanese Journal of Systematic Entomology', 15], ['Japanese Journal of systematic Entomology, Monographic series', 63], ['Japanese journal of systematic entomology', 8], ['Journal of Parasitology', 7], ['Journal of arachnology', 12], ['PeerJ', 11], ['Report on the Scientific Results of the Voyage of H. M. S. Challenger During the Years 1873 – 76, Zoology', 39], ['Systematic Entomology', 14], ['Systematic Parasitology', 9], ['Tijdschrift voor Entomologie', 37], ['ZooKeys', 23], ['Other (131)', 227] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=494)', 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);