My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

D3.js hierarchy issue

K's photo
K
·Oct 31, 2017

Can someone explain to me why this doesn't work? Can't seem to find the mistake. I would expect a bunch of group element to be inside my 'vis' object when inspecting the svg, yet there is nothing. Help much appreciated.

codepen.io/whiteMuffin/pen/XewzQL