function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Botanische Jahrbücher fur Systematik, Pflanzengeschichte und Pflanzengeographie.', 16], ['Journal of the Arnold Arboretum', 15], ['Malesian Orchid Journal: a Bi-annual Journal of Orchid Systematics, Morphology and Natural History', 1], ['Notizblatt des Königlichen Botanischen Gartens und Museums zu Berlin', 2], ['PhytoKeys', 11], ['Phytotaxa', 13], ['Transactions of the Linnean Society of London, Second Series. Botany', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=62)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 7, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);