function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Beiträge Zur Entomologie = Contributions to Entomology', 5], ['Biodiversity Data Journal', 8], ['C. G. Proft, Fil. et Soc.', 11], ['Carolum Reichard', 4], ['E. W. Janson', 3], ['Entomologist\'s monthly magazine', 1], ['Journal of Natural History', 1], ['Linzer biologische Beiträge', 1], ['Officina Libraria Kortii', 5], ['Proceedings of the Literary and Philosophical Society of Manchester', 3], ['Proceedings of the Manchester Literary and Philosophical Society', 1], ['Proft et Storch', 4], ['The Journal of the Linnean Society of London, Zoology', 1], ['Transactions of the Entomological Society of London', 1], ['Zootaxa', 2] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=51)', 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);