function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Botanische Jahrbücher fur Systematik, Pflanzengeschichte und Pflanzengeographie.', 4], ['J. Cramer', 4], ['Nova Guinea. Contributions to the anthropology, botany, geology and zoology of the Papuan region. Botany', 2], ['Nova Guinea: a journal of botany, zoology, anthropology, ethnography, geology and palaeontology of the Papuan region.', 9] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=19)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 4, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);