Public
Edited
Apr 1, 2024
Importers
Insert cell
Insert cell
WPP2022_Demographic_Indicators_Medium.csv
Type Table, then Shift-Enter. Ctrl-space for more options.

Insert cell
data = aq
.from(dataRaw)
.filter(
(d) =>
!aq.op.includes(
[
"World",
"SDG region",
"Development group",
"Income group",
"Geographic region",
"Subregion"
],
d.LocTypeName
)
)
.objects()
Insert cell
DOM.download(
new Blob(
[
JSON.stringify(
aq
.from(data)
.select({
Location: "Name",
ISO3_code: "Code",
Time: "Year",
TPopulation1Jan: "Population"
})
.derive({
Population: (d) => d.Population * 1000
})
.objects()
)
],
{ type: "application/json" }
),
"wpp-basic.json",
"Download basic JSON"
)
Insert cell
dataBasic = FileAttachment("wpp-basic-2.json").json()
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