function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bihang till Kongliga Svenska Vetenskaps-Akademiens Handlingar', 8], ['Biodiversity Data Journal', 72], ['Geodiversitas', 4], ['Journal of Natural History', 29], ['Laurentius Salvius', 5], ['Memoirs of Museum Victoria', 126], ['Papéis Avulsos de Zoologia', 19], ['Proceedings of the Boston Society of Natural History', 5], ['Report on the Scientific Results of the Voyage of H. M. S. Challenger During the Years 1873 – 76, Zoology', 54], ['Reports of Science Research Voyage of H. M. S. Challenger. Zoology', 34], ['Species Diversity', 13], ['Turici', 11], ['Zeitschrift für Wissenschaftliche Zoologie', 8], ['ZooKeys', 33], ['Zootaxa', 616], ['Other (19)', 34] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=1071)', 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);