function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Bijdragen tot de Flora van Nederlandsch Indie', 2], ['Biodiversity Data Journal', 7], ['Botanische Jahrbücher fur Systematik, Pflanzengeschichte und Pflanzengeographie.', 3], ['Laurentius Salvius', 1], ['Order out of Chaos. Linnaean Plant Types and their Types', 9], ['Phytotaxa', 6], ['Sto. Thomas por D. Candido Lopez', 1], ['Transactions of the Linnean Society of London, Second Series. Botany', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=30)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 8, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);