function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 7], ['Birkhaeuser Verlag', 7], ['Bulletin of the American Museum of Natural History', 4], ['Candollea', 1], ['Déterville', 1], ['Flora Helvetica', 4], ['Info Flora Schweiz', 6], ['Insecta Mundi', 1], ['Laurentius Salvius', 5], ['Nouveau dictionnaire d\'histoire naturelle [ed. 2]', 1], ['Order out of Chaos. Linnaean Plant Types and their Types', 6], ['PhytoKeys', 2], ['Phytotaxa', 4], ['Zoosystema', 10] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=59)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);