x:{domain:yearZoom},// The time slider, which reports the selected start and end dates, maps directly to the zoomed domain.
marks:[
Plot.areaY(aapl,{
x:"Date",
y:"Close",
fill:"firebrick",
opacity:0.1
}),
Plot.lineY(aapl,{x:"Date",y:"Close"})
]
})
Purpose-built for displays of data
Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.