function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Adansonia', 24], ['Biodiversity Data Journal', 49], ['Birkhaeuser Verlag', 3], ['Candollea', 6], ['Denkschriften der Schweizerischen Naturforschenden Gesellschaft', 25], ['Edinburgh Journal of Botany', 7], ['Flora Helvetica', 30], ['Info Flora Schweiz', 36], ['Journal of Species Research', 3], ['Linzer biologische Beiträge', 4], ['Order out of Chaos. Linnaean Plant Types and their Types', 28], ['PhytoKeys', 3], ['Phytochemistry', 3], ['Phytotaxa', 70], ['Vegetatio', 2], ['Other (4)', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=297)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);