function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Palaeontologica Romaniae', 10], ['Biodiversity Data Journal', 2], ['European Journal of Taxonomy', 116], ['Fossil Record', 3], ['Geodiversitas', 12], ['Journal of Natural History', 29], ['Journal of Species Research', 3], ['Proceedings of the Japanese Society of Systematic Zoology', 3], ['Reports of Science Research Voyage of H. M. S. Challenger. Zoology', 2], ['Species Diversity', 7], ['Subterranean Biology', 2], ['ZooKeys', 11], ['Zoological Journal of the Linnean Society', 4], ['Zoosystema', 5], ['Zootaxa', 129] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=338)', 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);