vl.x().average("TicketPrice").title("Average of Ticket Price"),
vl.color().fieldN("Route")
)
.title({
text:"Average Price of Ticket per Route",
anchor:'middle',
fontsize:15
})
.width(500)
.height(150)
.render()
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.