using nv.d3.js from https://github.com/corneadoug/nvd3