Move back to 2 samples per pixel
Hold an internal refernce to the nvd3 chart
Start on a customized legend
More chart defs
Assign colors externally and render them in the legend
Working, if ugly, legend, outside of nvd3