function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Australian Journal of Botany. Supplementary series', 6], ['Biodiversity Data Journal', 1], ['Blumea - Biodiversity, Evolution and Biogeography of Plants', 1], ['Botanische Jahrbücher fur Systematik, Pflanzengeschichte und Pflanzengeographie.', 1], ['Info Flora Schweiz', 1], ['Insecta Mundi', 1], ['Kew Bulletin', 2], ['Nova Guinea, ser. 2', 1], ['Palaeontologia Electronica', 1], ['Phytotaxa', 2], ['Transactions of the Linnean Society of London, Second Series. Botany', 1], ['ZooKeys', 6], ['Zoosystema', 1], ['Zootaxa', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=26)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);