add d3 library and samples