function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Palaeontologica Polonica', 2], ['African Invertebrates', 1], ['Biodiversity Data Journal', 25], ['Birkhaeuser Verlag', 2], ['European Journal of Taxonomy', 6], ['Geodiversitas', 9], ['Journal of Natural History', 28], ['Linzer biologische Beiträge', 4], ['Records of the Zoological Survey of India', 9], ['The Bulletin of the Russian Far East Malacological Society', 22], ['ZooKeys', 15], ['Zoological Journal of the Linnean Society', 17], ['Zoosystematics and Evolution', 2], ['Zootaxa', 21] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=163)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);