md` The **data** are the most important property in Vega spec. You can supply and transform the data before visualizing it into the graph.`
myData_1=newdata({name:"data_1"})
myData_1.values=[{x:1},{x:2},{x:3}]
myData_2=newdata("data_2")
myData_2.values=[{x:2},{x:2},{x:1}]
md`## scales`
md` Scales are a fundamental building block of data visualization, as they determine the nature of visual encodings.`
myscale_2=myScale_1.setType("linear")
myScale_1.setDomain("myData","time")
md` In **axes** we must set scale and orient properties.`
md`## legends`
md`## marks`
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.