function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 3], ['European Journal of Taxonomy', 35], ['Journal of Natural History', 34], ['Mémoires du Muséum national d\'Histoire naturelle', 1], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 1], ['Raffles Bulletin of Zoology', 58], ['Records of the Zoological Survey of India', 2], ['ZooKeys', 11], ['Zoosystema', 2], ['Zootaxa', 79] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=226)', 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);