Adding d3.js support