d3 stubs