function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Biologica Sibirica', 1], ['Acta Entomologica Musei Nationalis Pragae', 1], ['African Invertebrates', 4], ['Annali del Museo Civico di Storia Naturale di Genova', 1], ['Biodiversity Data Journal', 3], ['Far Eastern Entomologist', 10], ['Japanese Journal of Systematic Entomology', 1], ['Journal of Natural History', 5], ['Linzer biologische Beiträge', 2], ['Records of the Zoological Survey of India', 3], ['Revue suisse de Zoologie', 3], ['The Orthopterists Society at the Academy of Natural Sciences of Philadelphia,', 7], ['Umwelt-Vollzug', 3], ['Zoosystema', 6], ['Zootaxa', 123] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=173)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);