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], ['Raffles Bulletin of Zoology', 1], ['Records of the Zoological Survey of India', 2], ['The Bulletin of the Russian Far East Malacological Society', 23], ['Transactions of the Wagner Free Institute of Science of Philadelphia', 1], ['Zitteliana', 7], ['ZooKeys', 32], ['Zoological Journal of the Linnean Society', 5], ['Zoosystema', 12], ['Zootaxa', 32] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=171)', 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);