function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Palaeontologica Polonica', 5], ['Acta Palaeontologica Romaniae', 15], ['Biodiversity Data Journal', 35], ['Cryptogamie, Algologie', 6], ['Geodiversitas', 15], ['Havniae & Lipsiae', 7], ['Journal of Natural History', 48], ['Laurentius Salvius', 12], ['Mémoires du Muséum national d\'Histoire naturelle', 4], ['Order out of Chaos. Linnaean Plant Types and their Types', 29], ['Phytochemistry', 6], ['Phytotaxa', 32], ['ZooKeys', 4], ['Zoosystema', 21], ['Zootaxa', 45], ['Other (20)', 38] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=322)', 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);