Update stack layout x,y endpoints for d3

Adds 2 definitions for the stack layout in d3.