A simple d3.js bar chart that allows the user to select whether to view the chart as stacked or grouped.