adding d3.js plots