function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Botanische Jahrbücher fur Systematik, Pflanzengeschichte und Pflanzengeographie.', 1], ['PhytoKeys', 16], ['Phytotaxa', 1], ['Zoosystema', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=20)', 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);