function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Adansonia', 10], ['Adansonia: Recueil d\'Observations Botaniques', 7], ['Blumea - Biodiversity, Evolution and Biogeography of Plants', 11], ['Botanical Magazine Tokyo', 3], ['Botanische Jahrbücher fur Systematik, Pflanzengeschichte und Pflanzengeographie.', 7], ['Nova Guinea. Contributions to the anthropology, botany, geology and zoology of the Papuan region. Botany', 4], ['Repertorium Specierum Novarum Regni Vegetabilis', 1], ['Transactions of the Linnean Society of London, Second Series. Botany', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=44)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 8, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);