function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Adansonia', 2], ['Biodiversity Data Journal', 11], ['Birkhaeuser Verlag', 34], ['Denkschriften der Schweizerischen Naturforschenden Gesellschaft', 21], ['Flora Helvetica', 34], ['Info Flora Schweiz', 41], ['J. Cramer', 2], ['Kew Bulletin', 2], ['Laurentius Salvius', 23], ['Nova Guinea. Contributions to the anthropology, botany, geology and zoology of the Papuan region. Botany', 1], ['Nova Guinea: a journal of botany, zoology, anthropology, ethnography, geology and palaeontology of the Papuan region.', 11], ['Order out of Chaos. Linnaean Plant Types and their Types', 15], ['Phytochemistry', 8], ['Phytotaxa', 5], ['Transactions of the Linnean Society of London, Second Series. Botany', 2], ['Other (1)', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=213)', 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);