function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Beiträge Zur Entomologie = Contributions to Entomology', 5], ['Biodiversity Data Journal', 25], ['C. Reichard', 1], ['Entomological news', 1], ['Fossil Record', 1], ['Journal of Natural History', 2], ['Journal of the Proceedings of the Linnean Society, Zoology', 4], ['Kungliga Svenska Vetenskapsakademiens Handlingar', 1], ['Linzer biologische Beiträge', 57], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 2], ['Proceedings of the Manchester Literary and Philosophical Society', 1], ['Transactions of the American Entomological Society', 1], ['ZooKeys', 9], ['Zootaxa', 57] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=167)', fontSize: 'automatic', doWeHaveDanglingCommas: 'No ;-)' }; if (window.customizeGoogleChartOptions) customizeGoogleChartOptions(chartOptions, 'TreatmentsPerSource', 'pie', 14, 0); var chart = new google.visualization.PieChart(document.getElementById('chartDivTreatmentsPerSource')); chart.draw(chartData, chartOptions); } google.load('visualization', '1', {'packages': ['corechart']}); google.setOnLoadCallback(drawChartTreatmentsPerSource);