function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 1], ['Geodiversitas', 1], ['Laurentius Salvius', 5], ['Memoires de la Societe geologique de France, 2', 1], ['Mémoires du Muséum national d\'Histoire naturelle', 34], ['Revue Suisse de Zoologie', 1], ['U. S. Geological Survey, Professional Paper', 1], ['ZooKeys', 1], ['Zoosystema', 2], ['Zootaxa', 20] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=67)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 10, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);