function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Adansonia', 2], ['Australian Systematic Botany', 5], ['Biodiversity Data Journal', 3], ['Candollea', 1], ['Flora Helvetica', 1], ['Info Flora Schweiz', 1], ['Insecta Mundi', 1], ['Kew Bulletin', 3], ['Order out of Chaos. Linnaean Plant Types and their Types', 4], ['PhytoKeys', 3], ['Phytotaxa', 6], ['Reinwardtia', 1], ['The London Journal of Botany; Containing Figures and Descriptions of Such Plants as Recommend Themselves by Their Novelty, Rarit', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=32)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 13, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);