function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Blumea - Biodiversity, Evolution and Biogeography of Plants', 3], ['Botanische Jahrbücher fur Systematik, Pflanzengeschichte und Pflanzengeographie.', 1], ['Candollea', 1], ['Info Flora Schweiz', 1], ['Order out of Chaos. Linnaean Plant Types and their Types', 4], ['Phytotaxa', 1], ['South African Journal of Botany', 14] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=25)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 7, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);