I am trying to implement a radial tree described in this observable notebook: https://observablehq.com/@d3/radial-tidy-tree.
I have tried to implement the code as describ