Add d3 library and implemented d3 functions appending features to the dom