function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 25], ['Ex Officina Gleditschiana', 10], ['Geodiversitas', 32], ['Geological Survey Professional Paper', 4], ['Journal of Paleontology', 7], ['Laurentius Salvius', 18], ['Linzer biologische Beiträge', 8], ['Memoirs of Museum Victoria', 8], ['Proceedings of the American Academy of Arts and Sciences', 12], ['Reports of Science Research Voyage of H. M. S. Challenger. Zoology', 7], ['Revue Suisse de Zoologie', 3], ['ZooKeys', 7], ['Zoological Journal of the Linnean Society', 8], ['Zoosystema', 12], ['Zootaxa', 320], ['Other (30)', 42] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=523)', 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);