function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Biodiversity Data Journal', 38], ['Carolum Reichard', 2], ['European Journal of Taxonomy', 41], ['Journal of Natural History', 3], ['Journal of the Proceedings of the Linnean Society, Zoology', 3], ['Linzer biologische Beiträge', 24], ['Proft et Storch', 1], ['Subterranean Biology', 1], ['Transactions of the Entomological Society of London', 2], ['ZooKeys', 7], ['Zootaxa', 50] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=172)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 11, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);