Chart Template | D3 | Observable
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
ojs
Author
Mike Bostock
@mbostock
Visualization toolmaker. Founder
@observablehq
. Creator
@d3
. Former
@nytgraphics
. Pronounced BOSS-tock.
Comments (2)
David Kirkby
Sep 27, 2020
The "Learn D3: Scales" nb says that "D3 axes require selections" but you are using a different pattern here. Is there any advantage to using a selection over append for axes (which seems conceptually simpler to me)?
Fil
Sep 27, 2020
d3.create and *selection*.append are both part of
https://github.com/d3/d3-selection
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
Explore
Forum
Bluesky
YouTube
X
176
Follow
Follow
Chart Template | D3 | Observable