Public
Edited
Aug 20, 2023
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Plot.plot({
height:800,
insetLeft: 10,
insetRight: 60,
r: {range: [0, 30]},
x: {domain: sortedCountry},
marks: [
Plot.frame({anchor: "bottom"}),
Plot.dot(
transformedData,
Plot.dodgeY({
anchor: "bottom",
padding: 2,
x: "country",
r: "150m+", // N.B. sqrt scale
fill: "teal",
stroke: "black",
})
),
]
})
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