function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Academic Press', 3], ['Biodiversity Data Journal', 3], ['Deterville', 3], ['Déterville', 1], ['J. Tastu', 1], ['Journal of Threatened Taxa', 1], ['Monatsberichte der Königlich Preussischen Akademie des Wissenschaften zu Berlin', 4], ['MycoKeys', 11], ['Raffles Bulletin of Zoology', 41], ['Tijdschrift der Nederlandsche Dierkundige Vereeniging, 2 de Serie', 1], ['ZooKeys', 2], ['Zoosystema', 2], ['Zootaxa', 3] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=76)', 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);