added native d3 support for plot2d