function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Palaeontologica Romaniae', 10], ['European Journal of Taxonomy', 5], ['Fossil Record', 2], ['Geodiversitas', 8], ['Journal of Species Research', 5], ['Munis Entomology & Zoology', 3], ['Proceedings of the Japanese Society of Systematic Zoology', 1], ['Reports of Science Research Voyage of H. M. S. Challenger. Zoology', 6], ['Species Diversity', 4], ['Subterranean Biology', 3], ['ZooKeys', 4], ['Zoosystema', 2], ['Zootaxa', 17] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=70)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);