function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Acta Entomologica Musei Nationalis Pragae', 1], ['Biodiversity Data Journal', 5], ['Birkhaeuser Verlag', 3], ['Botanica Marina', 1], ['Bulletin of the American Museum of Natural History', 3], ['Candollea', 1], ['Check List', 1], ['Cryptogamie, Mycologie', 2], ['European Journal of Taxonomy', 6], ['Handbook of the Mammals of the World – Volume 4 Sea Mammals', 4], ['MycoKeys', 11], ['Phytotaxa', 52], ['Reimer', 1], ['Zoosystema', 8], ['Zootaxa', 8], ['Other (1)', 1] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=108)', 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);