Public
Edited
Dec 6, 2023
Insert cell
Insert cell
Plot.plot({
x: {axis: null},
y: {tickFormat: "s", grid: true},
color: {scheme: "spectral", legend: true},
marks: [
Plot.barY(data, {
x: "key",
y: "count",
fill: "key",
fx: "nobel prize",
sort: {x: null, color: null, fx: {value: "-y", reduce: "sum"}}
}),
Plot.ruleY([0])
]
})
Insert cell
data = FileAttachment("Nobel Prize Laureates By Gender - Nobel Prize Laureate Count By Gender@1.csv").csv({typed: true})
Insert cell
query.csv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
Insert cell
Insert cell
sparqlShareOfPrizesByGender = FileAttachment("SPARQL Share of Prizes By Gender.txt").text()
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