add d3's creation functions