function drawChartTreatmentsPerSource() { var chartData = google.visualization.arrayToDataTable([ ['Series', 'Number of Treatments'], ['Annales de la Societe Entomologique de Belgique', 2], ['Annales de la Société Entomologique de France', 5], ['Biodiversity Data Journal', 3], ['Bollettino della Societa Entomologica Italiana', 1], ['British Museum', 9], ['Bulletin of the American Museum of Natural History', 2], ['Caucasian Entomological Bulletin', 1], ['European Journal of Taxonomy', 1], ['Histoire Physique, Naturelle et Politique de Madagascar.', 2], ['Jahrbuch der Hamburgischen Wissenschaftlichen Anstalten', 1], ['Journal of Entomology', 1], ['Journal of the Proceedings of the Linnean Society of London, Zoology', 4], ['Memoirs of the American Entomological Institute', 25], ['PeerJ', 3], ['Zootaxa', 11], ['Other (4)', 4] ]); var chartOptions = { pieHole: 0, title: 'Treatments per Journal (n=75)', 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);