adding interactive d3 component