I want to use the d3 treemap layout in react .I have imported D3 in my react app . But I cannot use the d3 functions as it is . Find the code in this link codesandbox
1 Answer
Covert the D3 version to version 3.* and this code will render!
2 Comments
RenJith
that's great !! do you know how to use this as a breadcrumb driven visualization . When you click on the breadcrumb it goes only one level up even if we want to go to the root node .
Jake
Currently, in the D3 v3 version of the treemap, the 'breadcrumb' does navigate 'up' or 'back' 1 level when clicked.