a barchart component for Derby demonstrating a common pattern with d3.js