Line Chart, Missing Data | D3 | Observable
ojs
ojs
ojs
ojs
ojs
Comments (2)
ee2dev
Apr 9, 2022
you might want to replace aapl with aaplMissing to show the missing data
ee2dev
Apr 9, 2022
or the example for the area mark with missing data: Plot.plot({ marks: [ Plot.line(aaplMissing, { filter: d => !isNaN(d.close), x: "date", y: "close", stroke: "#eee" }), Plot.line(aaplMissing, { x: "date", y: "close", stroke: "steelblue" }) ] })
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
42
Reply
Add comment
Subscribe to notifications
67
Line Chart, Missing Data | D3 | Observable