domain:[newDate(???),newDate(???)]// Update ??? to set the date domain limits
},
marks:[
Plot.ruleY([0]),
Plot.lineY(aapl,{x:"Date",y:"Close"})
]
})
Plot.plot({
marks:[
Plot.dot(candyData,{x:"weight_in_oz",y:"price"})
],
color:{
legend:true,
},
})
Plot.plot({
marks:[
Plot.dot(candyData,{x:"weight_in_oz",y:"price"})
],
color:{green,blue,pink
legend:true,
},
})
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.