Notebooks user guide | Observable | Observable
Authors
Toph Tucker
@tophtucker
I work at Observable and enjoy using it
Mike Bostock
@mbostock
Visualization toolmaker. Founder
@observablehq
. Creator
@d3
. Former
@nytgraphics
. Pronounced BOSS-tock.
Comments (2)
Fil
Jun 11
why `await`? shouldn't we write those instead as ```ts const image = FileAttachment("image.jpg").image({width: 100}); ``` or just ```ts FileAttachment("image.jpg").image({width: 100}) ```
Mike Bostock
Jul 7
And we can replace await FileAttachment("image.jpg").url() with FileAttachment("image.jpg").href, which I’ve done.
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
Observable
Toph Tucker
&
Mike Bostock
8
Reply
Add comment
Subscribe to notifications
4
Notebooks user guide | Observable | Observable