function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 3849], ['Birkhaeuser Verlag', 1539], ['Bulletin of the American Museum of Natural History', 1582], ['European Journal of Taxonomy', 2216], ['Flora Helvetica', 1206], ['Info Flora Schweiz', 1670], ['Journal of Natural History', 1288], ['Mammal Species of the World: a Taxonomic and Geographic Reference (3 rd Edition), Volume 1', 1522], ['Order out of Chaos. Linnaean Plant Types and their Types', 2992], ['PhytoKeys', 1486], ['Phytotaxa', 6976], ['ZooKeys', 5972], ['Zoological Journal of the Linnean Society', 1282], ['Zoosystema', 1596], ['Zootaxa', 19070], ['Other (1061)', 22244] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=76490)', 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);