function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Adansonia', 3], ['Annals of the Missouri Botanical Garden', 3], ['Blumea, Supplement', 1], ['Botanical Magazine Tokyo', 1], ['Botanische Jahrbücher fur Systematik, Pflanzengeschichte und Pflanzengeographie.', 1], ['Brunonia', 1], ['Fossil Imprint', 4], ['Insecta Mundi', 6], ['J. Cramer', 10], ['Journal of Botany', 1], ['Journal of the Arnold Arboretum', 9], ['Nova Guinea. Contributions to the anthropology, botany, geology and zoology of the Papuan region. Botany', 2], ['PhytoKeys', 1], ['Phytotaxa', 7], ['Proceedings of the Royal Society of Queensland', 1], ['Other (2)', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=53)', 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);