Public
Edited
May 12, 2023
3 forks
2 stars
Insert cell
Insert cell
Plot.plot({
y: {
label: "↑ Annual revenue (%)",
percent: true
},
marks: [
Plot.areaY(riaa, Plot.stackY({offset: "normalize", order: "group", reverse: true}, {x: "year", y: "revenue", z: "format", fill: "group"})),
Plot.ruleY([0, 1])
]
})
Insert cell
riaa = FileAttachment("riaa-us-revenue.csv").csv({typed: true})
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