Creating two bar charts from data