wrap the svg in html and add d3.js as script src