function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annales du Museum National d\'Historie Naturelle, Paris', 1], ['Biodiversity Data Journal', 2], ['Dictionnaire des Sciences Naturelles', 1], ['Journal of Species Research', 3], ['Journal of the Ceylon Branch of the Royal Asiatic Society', 2], ['Malacologia', 1], ['Papéis Avulsos de Zoologia', 4], ['PeerJ', 1], ['Proceedings of the Zoological Society of London', 4], ['ZooKeys', 3], ['Zoological studies', 8], ['Zoosystematics and Evolution', 1], ['Zootaxa', 11] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=42)', 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);