Messing around with d3js and nvd3