Public
Edited
May 9, 2023
2 forks
1 star
Insert cell
Insert cell
Plot.plot({
marginBottom: 60,
x: {
tickRotate: -30,
},
y: {
transform: (d) => d / 1000,
label: "↑ Market value (US dollars, billions)",
grid: 5
},
marks: [
Plot.ruleY([0]),
Plot.barY(brands, {
x: "name",
y: "value",
sort: { x: "y", reverse: true, limit: 20 },
fill: "steelblue"
}),
]
})
Insert cell
Insert cell
brands = FileAttachment("brands-2018.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