I'm learning how to plot charts using D3.js on SVG objects. My code creates elements in DOM objects, but they do not display. If I run DOM inspector and copy all elements to another html document and display that the rectangles are visible.
I'm trying to plot two static rectangles on JSFiddle