function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annals and magazine of natural history', 1], ['Biodiversity Data Journal', 11], ['European Journal of Taxonomy', 12], ['Geodiversitas', 1], ['Masson et Cle', 1], ['Proceedings of the Japanese Society of Systematic Zoology', 1], ['Raffles Bulletin of Zoology', 1], ['Revue Suisse de Zoologie', 1], ['ZooKeys', 9], ['Zoological Journal of the Linnean Society', 2], ['Zoosystema', 76], ['Zootaxa', 58] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=174)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);