Tidy tree component | D3 | Observable
ojs
ojs
ojs
ojs
Author
Mike Bostock
@mbostock
Visualization toolmaker. Founder
@observablehq
. Creator
@d3
. Former
@nytgraphics
. Pronounced BOSS-tock.
Comments (2)
Viktor Kadza
Mar 5, 2023
got this exception when using the Tree() function in my app: Uncaught Error: Unsupported curve thrown by this part: if (typeof curve !== "function") throw new Error(`Unsupported curve`);
Behrang Saeedzadeh
Jun 6, 2023
Hi, Just fyi, `height` is set twice here: .attr("style", "max-width: 100%; height: auto; height: intrinsic;")
Reply
Add comment
Subscribe to notifications
© 2026 Observable, Inc.
Terms of service
Privacy policy
Product
About
Pricing
Documentation
Release notes
Contact us
Open source
Notebook Kit
Plot
D3
Community
Public
Forum
Bluesky
YouTube
X
Observable
Sign up
D3
Mike Bostock
209
Reply
Add comment
Subscribe to notifications
1,993
Tidy tree component | D3 | Observable