Monday, December 6, 2021

To get the parent node in d3js

 d3.select("grid"). nodes()[0].

    parentNode.setAttribute("transform", "translate('1px, 3px'));

No comments:

Post a Comment