function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 32], ['Adansonia', 66], ['Biodiversity Data Journal', 1], ['Botanische Jahrbücher fur Systematik, Pflanzengeschichte und Pflanzengeographie.', 1], ['Bulletin of the United States Bureau of Fisheries', 1], ['Candollea', 5], ['Edinburgh Journal of Botany', 1], ['Genera Plantarum Eorumque Characteres Naturales Secundum Numerum, Figuram, Situm, & Proportionem Omnium Fructificationis Partium', 1], ['Histoire des plantes de la Guiane Françoise. Tome III', 1], ['Journal de Botanique', 2], ['Journal of the Arnold Arboretum', 1], ['Laurentius Salvius', 2], ['Order out of Chaos. Linnaean Plant Types and their Types', 4], ['Phytotaxa', 7], ['Plant Ecology and Evolution', 8], ['Other (4)', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=137)', 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);