got d3render factory working