function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annales des Sciences Naturelles, Zoologie, Série 3', 1], ['Biodiversity Data Journal', 2], ['Bulletin of the Museum of Comparative Zoology at Harvard College, 3', 1], ['Geodiversitas', 2], ['Hallageriis', 1], ['Japanese Journal of Zoology', 2], ['Laurentius Salvius', 18], ['PhytoKeys', 1], ['Proceedings of the American Academy of Arts and Sciences', 3], ['Scientific reports', 1], ['Transactions of the geological society of London, 2', 1], ['ZooKeys', 2], ['Zoologischer Anzeiger', 2], ['Zoosystema', 9], ['Zootaxa', 47] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=93)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);