function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Adansonia', 3], ['Check List', 2], ['Journal of the Arnold Arboretum', 10], ['Laurentius Salvius', 2], ['Nova Guinea. Contributions to the anthropology, botany, geology and zoology of the Papuan region. Botany', 6], ['Nova Guinea: a journal of botany, zoology, anthropology, ethnography, geology and palaeontology of the Papuan region.', 3], ['Order out of Chaos. Linnaean Plant Types and their Types', 1], ['PhytoKeys', 4], ['Phytotaxa', 1], ['Queensland Agricultural Journal', 1], ['Taylor & Francis', 1], ['Transactions of the Linnean Society of London, Second Series. Botany', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=38)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);