function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 2], ['Birkhaeuser Verlag', 3], ['Blumea - Biodiversity, Evolution and Biogeography of Plants', 1], ['Bulletin du Jardin Botanique de Buitenzorg, sér. 3', 1], ['Denkschriften der Schweizerischen Naturforschenden Gesellschaft', 1], ['Flora Helvetica', 1], ['Fossil Imprint', 3], ['Info Flora Schweiz', 1], ['Order out of Chaos. Linnaean Plant Types and their Types', 3], ['PhytoKeys', 1], ['Phytotaxa', 4], ['Zootaxa', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=22)', 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);