function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 52], ['Birkhaeuser Verlag', 164], ['Bulletin of the American Museum of Natural History', 4], ['Candollea', 16], ['Flora Helvetica', 110], ['Info Flora Schweiz', 154], ['Journal of Species Research', 7], ['Laurentius Salvius', 181], ['Linzer biologische Beiträge', 11], ['Order out of Chaos. Linnaean Plant Types and their Types', 248], ['PhytoKeys', 37], ['Phytochemistry', 10], ['Phytotaxa', 206], ['Zoological Journal of the Linnean Society', 18], ['Zootaxa', 14], ['Other (17)', 29] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=1261)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 16, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);