function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Allattani Küzlem. Budapest', 2], ['Anzeiger', 2], ['Atti della Società Italiana di Scienze Naturali e del Museo Civico di Storia Naturale di Milano', 3], ['Bulletin of the American Museum of Natural History', 8], ['Bulletin of the Southern California Academy of Sciences', 4], ['Copeia', 11], ['Cybium', 4], ['Geodiversitas', 3], ['Journal of Natural History', 8], ['Notulae Naturae', 3], ['Proceedings of the Academy of Natural Sciences of Philadelphia', 3], ['Proceedings of the Zoological Society of London, B', 6], ['Rev. Fac. Sci. Univ. Istanbul, B', 5], ['Turkish Journal of Zoology', 4], ['Zootaxa', 47], ['Other (27)', 35] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=148)', 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);