function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 3], ['Birkhaeuser Verlag', 4], ['Botanical Journal of the Linnean Society, Bot.', 1], ['Botanische Jahrbücher fur Systematik, Pflanzengeschichte und Pflanzengeographie.', 4], ['Check List', 1], ['Denkschriften der Schweizerischen Naturforschenden Gesellschaft', 1], ['Flora Helvetica', 2], ['Info Flora Schweiz', 4], ['Journal of Species Research', 1], ['Journal of the Arnold Arboretum', 1], ['Order out of Chaos. Linnaean Plant Types and their Types', 20], ['PhytoKeys', 8], ['Phytotaxa', 23], ['Zoosystema', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=74)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);