function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annalen des Naturhistorischen Museums in Wien', 1], ['Candollea', 1], ['Check List', 1], ['Journal of the Arnold Arboretum', 4], ['Laurentius Salvius', 1], ['Nova Guinea. Contributions to the anthropology, botany, geology and zoology of the Papuan region. Botany', 3], ['Order out of Chaos. Linnaean Plant Types and their Types', 2], ['PhytoKeys', 1], ['Phytotaxa', 3], ['Proceedings of the Royal Society of Queensland', 1], ['Transactions of the Linnean Society of London, Second Series. Botany', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=22)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);