Skip to content

D3 Radial Dendrogram only displaying part

I have created the code below based on Mike Bostock’s example in Observable (which I know is not the same as raw d3/ javascript) https://observablehq.com/@d3/radial-dendrogram However, it: only displays if I remove the return svg.attr(“viewBox”, autoBox).node(); at the end of the chart funct…