function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Biologica Sibirica', 1], ['Biodiversity Data Journal', 58], ['Birkhaeuser Verlag', 13], ['Denkschriften der Schweizerischen Naturforschenden Gesellschaft', 191], ['Flora Helvetica', 12], ['Flore de la Nouvelle-Caledonie et dependances', 1], ['Info Flora Schweiz', 12], ['Laurentius Salvius', 2], ['Linzer biologische Beiträge', 2], ['Order out of Chaos. Linnaean Plant Types and their Types', 5], ['PhytoKeys', 1], ['Phytochemistry', 4], ['Phytotaxa', 2], ['ZooKeys', 1], ['Zootaxa', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=309)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 15, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);