function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 3686], ['Birkhaeuser Verlag', 942], ['Bulletin of the American Museum of Natural History', 1481], ['European Journal of Taxonomy', 2674], ['Flora Helvetica', 700], ['Info Flora Schweiz', 1011], ['Journal of Natural History', 1552], ['Order out of Chaos. Linnaean Plant Types and their Types', 1933], ['PhytoKeys', 873], ['Phytotaxa', 5470], ['ZooKeys', 5704], ['Zoological Journal of the Linnean Society', 1149], ['Zoological Systematics', 781], ['Zoosystema', 1453], ['Zootaxa', 21860], ['Other (1003)', 18192] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=69461)', 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);