improvements to the d3 mockup --KW