function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Palaeontologica Polonica', 2], ['Australian Zoologist', 1], ['Biodiversity Data Journal', 20], ['European Journal of Taxonomy', 2], ['Geodiversitas', 8], ['Journal of Natural History', 23], ['Parasites & Vectors', 1], ['Raffles Bulletin of Zoology', 1], ['Records of the Zoological Survey of India', 2], ['The Bulletin of the Russian Far East Malacological Society', 23], ['Zitteliana', 7], ['ZooKeys', 31], ['Zoological Journal of the Linnean Society', 5], ['Zoosystema', 12], ['Zootaxa', 32], ['Other (1)', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=171)', 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);