Added the ability to take in aggregated data in bar_chart, and updated
the documentation along with it.