function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Adansonia', 23], ['Biodiversity Data Journal', 5], ['Brittonia', 1], ['Check List', 1], ['Journal of Botany, British and Foreign, London', 1], ['Nordic Journal of Botany', 1], ['Notizblatt des Königlichen Botanischen Gartens und Museums zu Berlin', 1], ['Nova Guinea. Contributions to the anthropology, botany, geology and zoology of the Papuan region. Botany', 1], ['Order out of Chaos. Linnaean Plant Types and their Types', 2], ['Philippine Journal of Science C. Botany, Section C, Botany', 3], ['PhytoKeys', 8], ['Phytotaxa', 8] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=55)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 12, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);