function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Botanische Jahrbücher fur Systematik, Pflanzengeschichte und Pflanzengeographie.', 3], ['Check List', 3], ['Curtis\'s Botanical Magazine', 3], ['Nordic Journal of Botany', 1], ['Notizblatt des Botanischen Gartens und Museums zu Berlin-Dahlem', 3], ['Order out of Chaos. Linnaean Plant Types and their Types', 1], ['Palms Journal', 1], ['Phytotaxa', 10] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=25)', 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);