function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Adansonia', 1], ['Annals of the Missouri Botanical Garden', 22], ['Australian Systematic Botany', 8], ['Biodiversity Data Journal', 15], ['Candollea', 2], ['Flora Helvetica', 1], ['Fossil Imprint', 1], ['Info Flora Schweiz', 1], ['Kew Bulletin', 1], ['Order out of Chaos. Linnaean Plant Types and their Types', 17], ['Philippine Journal of Science C. Botany, Section C, Botany', 1], ['PhytoKeys', 7], ['Phytotaxa', 8], ['The London Journal of Botany; Containing Figures and Descriptions of Such Plants as Recommend Themselves by Their Novelty, Rarit', 6], ['Zootaxa', 13], ['Other (1)', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=105)', 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);