Public
Edited
Jun 5
1 star
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
vl.markLine()
.data(forestData)
.encode(
vl.x().field("year").type("temporal").title("Year"),
vl.y().field("value").type("quantitative").title("Forest area (% of land area)"),
vl.color().field("region").type("nominal").title("Region")
)
.width(700)
.height(400)
.title("How Has Forest Area (% of Land) by Region Changed From 1990 to 2022?")
.render()

Insert cell
Insert cell

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.
Learn more